Difference between revisions of "Segmenting Images Using Contours and Masks: Generating Masks"
(→Generating masks) |
(→Step 1, Selecting the paint intensity level) |
||
Line 41: | Line 41: | ||
{| border="1" cellpadding="5" | {| border="1" cellpadding="5" | ||
− | |+ <div style="font-style: normal; margin-bottom: 3pt; margin-left: 0pt; margin-right: 0pt; margin-top: 9pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline">'''<font color="#000000"> Figure | + | |+ <div style="font-style: normal; margin-bottom: 3pt; margin-left: 0pt; margin-right: 0pt; margin-top: 9pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline">'''<font color="#000000"> Figure 2. Desired Paint Intensity dialog box<br /></font>'''</div> |
|- | |- | ||
| | | | ||
Line 48: | Line 48: | ||
<div class="CellBody">Specifies the intensity, or strength, of the paint.</div> | <div class="CellBody">Specifies the intensity, or strength, of the paint.</div> | ||
| rowspan="4" colspan="1" | | | rowspan="4" colspan="1" | | ||
− | |||
− | |||
[[Image:dialogboxDesiredPaintIntensity.jpg]] | [[Image:dialogboxDesiredPaintIntensity.jpg]] | ||
− | |||
|- | |- | ||
| | | |
Revision as of 21:05, 13 February 2012
Contents
- 1 Generating masks
- 1.1 Manually creating a mask using paint
Generating masks
You can create masks using a variety of methods:
- Use paint tools to manually create a mask
- Use Paint Grow Segmentation tool
- Use binary or short mask utilities
- Use the Advanced Paint tool
- Use the Power Paint tool
MIPAV also provides algorithms that you can use to generate masks. These algorithms are addressed in volume 2 of the User's Guide.
Manually creating a mask using paint
When you click one of these icons, it applies the intensity permanently to the image. You can then choose to save the image.
If the Paint toolbar does not appear in the MIPAV window, select Toolbars. The Toolbar menu lists four commands: VOI Toolbar, Paint Toolbar, Scripting Toolbar, and Image Toolbar. If a toolbar command has a check mark next to it, the toolbar is displayed; otherwise, it is hidden. To display the Paint toolbar, select Paint Toolbar. See also [MIPAV_QuickStart.html#2693414 "MIPAV toolbars" on page 21].
Manually generating a mask includes the following four steps:
Step 1, Selecting the paint intensity level
Intensity
|
Specifies the intensity, or strength, of the paint.
|
|
Apply
|
Applies the intensity that you specified to the image.
| |
Cancel
|
Disregards any changes that you made in this dialog box and closes the dialog box.
| |
Help
|
Displays online help for this dialog box.
|
Step 2, Selecting a paint color
To select a color, use the Change Paint Color icon, to display the Pick Paint Color dialog box ([MIPAV_Segmentation.html#1346190 Figure 184]). This dialog box includes three tabbed pages: Swatches page, which is always displayed first; the HSB page; and the RGB page. You can select a color on any of the pages.
Pick Paint Color dialog box options
Color grid
|
Shows the available colors. Select one of these colors and it appears in the Recent grid on the right.
|
---|---|
Recent grid
|
Indicates colors that you have recently selected from the color grid on the left. MIPAV uses the last color that you selected from the color grid and that appears in this grid as the color of the background in the lightbox view once you select OK.
|
OK
|
Applies the parameters that you specified to crop the image.
|
Cancel
|
Disregards any changes you made in this dialog box, closes the dialog box, and does not crop the image.
|
Reset
|
Returns the color settings to their previous values.
|
Help
|
Displays online help for this dialog box.
|
|- |
|
|- |
|
|- |
|
|- |
|
|- |
|
|- |
|
|- |
|
|- |
|
|- |
|
|- |
|
|- |
|
|- |
|
|}
Using the Hue, Saturation, and Brightness Color Model
| ||
The HSB color model defines colors by a combination of their hue, saturation, and brightness. The hue is the wavelength of light transmitted through or reflected from an object. The hue is more commonly known as color (such as magenta or green). Below is the Munsell color wheel. A color strip, which is derived from the color wheel, appears as well. Hues are represented by the degrees in the color wheel. (Since colors are graduated, the degrees in the figure are approximations and not necessarily absolute values. For example, yellow is approximately 45 degrees; 50 degrees is a different shade of yellow.
|
Primary colors (red, yellow, and blue) combine to create secondary colors (magenta, cyan, and green).Tertiary colors, such as orange, are also represented on the color wheel. The color strip is simply a different representation of the color wheel. Degrees and corresponding hues were added to the figure. Saturation is the strength or purity of the hue. To lessen the saturation, gray is added to the color. Thus, if pure orange is 70 percent saturated, the hue is a mixture of orange (70 percent) and gray (30 percent). Brightness is the relative darkness and lightness of a color; 0% brightness is black; 100% brightness is white. Â
| |
{| align="center" |
|}
|- |
|
|- |
|
|- |
|
|- |
|
|- |
|
|- |
|
|- |
|
|}
Step 3, Adjust the opacity level of the paint
Opacity
|
Specifies the degree of transparency. To make the color more transparent, move the slider to left. To make it more opaque, move the slider to the right.
|
{| align="center" |
|- |
|
|}