Difference between revisions of "Segmenting Images Using Contours and Masks: Generating Masks"

From MIPAV
Jump to: navigation, search
(Pick Paint Color dialog box options)
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Generating masks ==
+
A ''mask'' is a filter that selectively includes or excludes certain values. You can create a mask that includes the VOI areas and excludes all other areas. Masks are particularly helpful if you use other applications to further analyze images because those programs may require that you supply a mask. An example of a mask appears in Figure 1.<br />
 
+
<div style="font-style: normal; font-weight: normal; margin-bottom: 6pt; margin-left: 0pt; margin-right: 0pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> A <span style="font-weight: normal; text-decoration: none; text-transform: none; vertical-align: baseline">''<font color="#000000">mask</font>''</span> is a filter that selectively includes or excludes certain values. You can create a mask that includes the VOI areas and excludes all other areas. Masks are particularly helpful if you use other applications to further analyze images because those programs may require that you supply a mask. An example of a mask appears in [MIPAV_Segmentation.html#1345222 Figure 181].<br /></font></div>
+
  
 
You can create masks using a variety of methods:
 
You can create masks using a variety of methods:
  
<div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 24pt; margin-right: 0pt; margin-top: 5pt; text-align: left; text-decoration: none; text-indent: -24pt; text-transform: none; vertical-align: baseline"><font color="#000000">  Use paint tools to manually create a mask, refer to [MIPAV_Segmentation.html#1348003 page 282]<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 24pt; margin-right: 0pt; margin-top: 5pt; text-align: left; text-decoration: none; text-indent: -24pt; text-transform: none; vertical-align: baseline"><font color="#000000">  Use Paint Grow Segmentation tool, refer to [MIPAV_Segmentation.html#1012743 page 294]<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 24pt; margin-right: 0pt; margin-top: 5pt; text-align: left; text-decoration: none; text-indent: -24pt; text-transform: none; vertical-align: baseline"><font color="#000000">  Use binary or short mask utilities, refer to [MIPAV_Segmentation.html#1610706 page 297]<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 24pt; margin-right: 0pt; margin-top: 5pt; text-align: left; text-decoration: none; text-indent: -24pt; text-transform: none; vertical-align: baseline"><font color="#000000">  Use the Advanced Paint tool, refer to [MIPAV_Segmentation.html#1604592 page 302]<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 24pt; margin-right: 0pt; margin-top: 5pt; text-align: left; text-decoration: none; text-indent: -24pt; text-transform: none; vertical-align: baseline"><font color="#000000">  Use the Power Paint tool, refer to [MIPAV_Segmentation.html#1617005 page 303]<br /></font></div>
+
*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 <span style="font-weight: normal; text-decoration: none; text-transform: none; vertical-align: baseline">''<font color="#000000">User's Guide</font>''</span>.
+
MIPAV also provides algorithms that you can use to generate masks. These algorithms are addressed in volume 2 of the ''User's Guide''.
 
+
<div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 0pt; margin-right: 0pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000">
+
  
 
{| 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 181. Image with (A) a painted region and (B) the resulting mask<br /></font>'''</div>
+
|+ '''Figure 1. Image with (A) a painted region and (B) the resulting mask'''
 
|-
 
|-
|
 
<div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 0pt; margin-right: 0pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> <br clear="all" />{| align="center"
 
 
|
 
|
 
[[Image:examplePaintandMask.jpg]]
 
[[Image:examplePaintandMask.jpg]]
|}<br clear="all" /><br /></font></div>
 
 
|}
 
|}
  
<br /></font></div>
 
  
 
=== Manually creating a mask using paint ===
 
=== Manually creating a mask using paint ===
 
+
You can manually create a mask using the tools on the Paint toolbar, which is located in the MIPAV window. To create the mask, you first select the intensity level of the paint, along with the paint color and opacity value. Next, you paint on the image using the paint brush. You can adjust the size of the paint brush tip. When complete, you then commit the paint by choosing one of the following icons:<br />[[Image:MasksInsidePaintedAreaIco.jpg]] - Masks Inside the Painted Area<br />[[Image:MasksOutsidePaintedAreaIco.jpg]] - Masks Outside the Painted Area<br />
<div style="font-style: normal; font-weight: normal; margin-bottom: 6pt; margin-left: 0pt; margin-right: 0pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> You can manually create a mask using the tools on the Paint toolbar, which is located in the MIPAV window. To create the mask, you first select the intensity level of the paint, along with the paint color and opacity value. Next, you paint on the image using the paint brush. You can adjust the size of the paint brush tip. When complete, you then commit the paint by choosing one of the following icons:<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 0pt; margin-right: 0pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> [[Image:MasksInsidePaintedAreaIco.jpg]] - Masks Inside the Painted Area<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 0pt; margin-right: 0pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> [[Image:MasksOutsidePaintedAreaIco.jpg]] - Masks Outside the Painted Area<br /></font></div>
+
  
 
When you click one of these icons, it applies the intensity permanently to the image. You can then choose to save the image.
 
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].
+
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 toolbars" in Chapter 3.
  
 
==== Manually generating a mask includes the following four steps: ====
 
==== Manually generating a mask includes the following four steps: ====
 
+
*Step 1, Selecting the paint intensity level<br />
<div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 24pt; margin-right: 0pt; margin-top: 5pt; text-align: left; text-decoration: none; text-indent: -24pt; text-transform: none; vertical-align: baseline"><font color="#000000">  Step 1, Selecting the paint intensity level<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 24pt; margin-right: 0pt; margin-top: 5pt; text-align: left; text-decoration: none; text-indent: -24pt; text-transform: none; vertical-align: baseline"><font color="#000000">  Step 2, Selecting a paint color<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 24pt; margin-right: 0pt; margin-top: 5pt; text-align: left; text-decoration: none; text-indent: -24pt; text-transform: none; vertical-align: baseline"><font color="#000000">  Step 3, Adjusting the opacity level of the paint<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 24pt; margin-right: 0pt; margin-top: 5pt; text-align: left; text-decoration: none; text-indent: -24pt; text-transform: none; vertical-align: baseline"><font color="#000000">  Step 4, Applying the paint<br /></font></div>
+
*Step 2, Selecting a paint color<br />
 +
*Step 3, Adjusting the opacity level of the paint<br />
 +
*Step 4, Applying the paint<br />
  
 
==== Step 1, Selecting the paint intensity level ====
 
==== Step 1, Selecting the paint intensity level ====
 
+
The first step in manually creating a mask is to select the intensity level of the masked area.You can select the intensity level by using the eyedropper tool to select an intensity value that is already present in an image or by typing a specific intensity value in the Desired Paint Intensity dialog box.<br />To select the intensity level using the Eyedropper tool<br /> [[Image:PIckColorIco.jpg]] - Eyedropper<br />The eyedropper allows you to copy an intensity level that is already present in the image. To use this tool, complete the following steps:<br />
<div style="font-style: normal; font-weight: normal; margin-bottom: 6pt; margin-left: 0pt; margin-right: 0pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> The first step in manually creating a mask is to select the intensity level of the masked area.You can select the intensity level by using the eyedropper tool to select an intensity value that is already present in an image or by typing a specific intensity value in the Desired Paint Intensity dialog box.<br /></font></div><div style="font-style: normal; margin-bottom: 6pt; margin-left: 0pt; margin-right: 0pt; margin-top: 14pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline">'''<font color="#000000"> To select the intensity level using the Eyedropper tool<br /></font>'''</div><div style="font-style: normal; font-weight: normal; margin-bottom: 6pt; margin-left: 0pt; margin-right: 0pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> [[Image:PIckColorIco.jpg]] - Eyedropper<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 6pt; margin-left: 0pt; margin-right: 0pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> The allows you to copy an intensity level that is already present in the image. To use this tool, complete the following steps:<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -18pt; text-transform: none; vertical-align: baseline"><font color="#000000">  1 Click the Eyedropper icon, on the paint toolbar in the MIPAV window.<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -18pt; text-transform: none; vertical-align: baseline"><font color="#000000">  2 Click the area of the image that has the intensity level you want to copy. The intensity shown at the bottom of the MIPAV window changes to the intensity level in the part of the image you've selected.<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 4pt; margin-left: 0pt; margin-right: 0pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> <span style="font-style: normal; text-decoration: none; text-transform: none; vertical-align: baseline">'''<font color="#000000">Example:</font>'''</span> Initially, the intensity level button shows a zero on the button. However, when you click an area of the image, it displays the number that is associated with that part of the image, such as 250.<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 6pt; margin-left: 0pt; margin-right: 0pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> You can enter a specific intensity level value in the Desired Paint Intensity window. To do this, complete the following steps:<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -18pt; text-transform: none; vertical-align: baseline"><font color="#000000">  1 Click the Intensity button.<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 5pt; margin-left: 0pt; margin-right: 0pt; margin-top: 5pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> <span style="font-style: normal; text-decoration: none; text-transform: none; vertical-align: baseline">'''<font color="#000000">Note:</font>'''</span> If you changed the intensity level using the eyedropper or this button previously in your current MIPAV session, the number on the Intensity button would have changed from 0 to the number representing that earlier intensity level.<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> The Desired Paint Intensity dialog box opens.<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -18pt; text-transform: none; vertical-align: baseline"><font color="#000000">  2 Notice that the minimum and maximum intensity values appear in parentheses. These values depend on the image type, or data type, of the image.<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 0pt; margin-right: 0pt; margin-top: 7pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> <span style="font-style: normal; text-decoration: none; text-transform: none; vertical-align: baseline">'''<font color="#000000">Tip:</font>'''</span> You can look at the exact intensity levels in the image using [[Image:buttonMagnifyRegion.jpg]] , the Magnify region icon.<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 0pt; margin-right: 0pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000">
+
1 Click the Eyedropper icon, on the paint toolbar in the MIPAV window.<br />
 +
2 Click the area of the image that has the intensity level you want to copy. The intensity shown at the bottom of the MIPAV window changes to the intensity level in the part of the image you've selected.<br />
 +
'''Example:''' Initially, the intensity level button shows a zero on the button. However, when you click an area of the image, it displays the number that is associated with that part of the image, such as 250.<br />
 +
You can enter a specific intensity level value in the Desired Paint Intensity window. To do this, complete the following steps:<br />
 +
1 Click the Intensity button.<br />
 +
'''Note:''' If you changed the intensity level using the eyedropper or this button previously in your current MIPAV session, the number on the Intensity button would have changed from 0 to the number representing that earlier intensity level.<br />The Desired Paint Intensity dialog box opens.<br />
 +
2 Notice that the minimum and maximum intensity values appear in parentheses. These values depend on the image type, or data type, of the image.<br />'''Tip:''' You can look at the exact intensity levels in the image using [[Image:buttonMagnifyRegion.jpg]] , the Magnify region icon.<br />
  
 
{| 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 182. Desired Paint Intensity dialog box<br /></font>'''</div>
+
|+ '''Figure 2. Desired Paint Intensity dialog box'''
 
|-
 
|-
 
|
 
|
Line 47: Line 50:
 
<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" |
<div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 0pt; margin-right: 0pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> <br clear="all" />{| align="center"
 
|
 
 
[[Image:dialogboxDesiredPaintIntensity.jpg]]
 
[[Image:dialogboxDesiredPaintIntensity.jpg]]
|}<br clear="all" /><br /></font></div>
 
 
|-
 
|-
 
|
 
|
Line 68: Line 68:
 
|}
 
|}
  
<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -18pt; text-transform: none; vertical-align: baseline"><font color="#000000">  3 Type the desired level of intensity.<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -18pt; text-transform: none; vertical-align: baseline"><font color="#000000">  4 Click Apply to apply the intensity level to the paint. Note that the number on the Intensity button changes to the number you entered.<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -18pt; text-transform: none; vertical-align: baseline"><font color="#000000">  5 Click [[Image:buttonClose.jpg]] or Cancel to close the dialog box.<br /></font></div>
+
3 Type the desired level of intensity.<br />
 +
4 Click Apply to apply the intensity level to the paint. Note that the number on the Intensity button changes to the number you entered.<br />
 +
5 Click [[Image:buttonClose.jpg]] or Cancel to close the dialog box.<br />
  
 
==== Step 2, Selecting a paint color ====
 
==== Step 2, Selecting a paint color ====
  
<div style="font-style: normal; font-weight: normal; margin-bottom: 6pt; margin-left: 0pt; margin-right: 0pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> [[Image:ChoosePaintColorIco.jpg]] - Change Paint Color<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 6pt; margin-left: 0pt; margin-right: 0pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> After you select the intensity level, the next step is selecting the paint color. The program applies this color to the image so that you can easily see where you applied the new intensity. When you commit the changes to the image, the grayscale intensity level that you indicated in step 1 is permanently applied to the image.<br /></font></div>
+
[[Image:ChoosePaintColorIco.jpg]] - Change Paint Color<br />After you select the intensity level, the next step is selecting the paint color. The program applies this color to the image so that you can easily see where you applied the new intensity. When you commit the changes to the image, the grayscale intensity level that you indicated in step 1 is permanently applied to the image.<br />
  
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.
+
To select a color, use the Change Paint Color icon, to display the Pick Paint Color dialog box (Figure 4). 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.
  
<div style="font-style: normal; margin-bottom: 6pt; margin-left: 0pt; margin-right: 0pt; margin-top: 14pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline">'''<font color="#000000"> To select a color from one of the 310 color swatches<br /></font>'''</div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -18pt; text-transform: none; vertical-align: baseline"><font color="#000000"> 1 Click the Change Paint Color icon. The Pick Paint Color dialog box ([MIPAV_Segmentation.html#1348107 Figure 183]) opens.<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -18pt; text-transform: none; vertical-align: baseline"><font color="#000000">  2 Stay on the Swatches page, or, if you moved to HSB or RGB pages, click Swatches to return to the Swatches page.<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -18pt; text-transform: none; vertical-align: baseline"><font color="#000000">  3 Click the desired color in the larger grid. The color appears in the Recent color grid on the right.<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -18pt; text-transform: none; vertical-align: baseline"><font color="#000000">  4 Click Close when done. The Pick Paint Color dialog box closes. The color you selected becomes the current paint color.<br /></font></div><div style="font-style: normal; margin-bottom: 6pt; margin-left: 0pt; margin-right: 0pt; margin-top: 14pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline">'''<font color="#000000"> To select a color using the HSB model<br /></font>'''</div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -18pt; text-transform: none; vertical-align: baseline"><font color="#000000">  1 Click the Change Paint Color icon. The Pick Paint Color dialog box opens.<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -18pt; text-transform: none; vertical-align: baseline"><font color="#000000">  2 Click HSB. The HSB page appears ([MIPAV_Segmentation.html#1346190 Figure 184]B).<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -18pt; text-transform: none; vertical-align: baseline"><font color="#000000">  3 Specify a color by entering specific numbers for the hue, saturation, and brightness values, or select the color from the color graphic.<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 36pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -12pt; text-transform: none; vertical-align: baseline"><font color="#000000">  Enter specific values into the H, S, and B boxes:<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 48pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -12pt; text-transform: none; vertical-align: baseline"><font color="#000000">  <span style="font-weight: normal; text-decoration: none; text-transform: none; vertical-align: baseline">''<font color="#000000">Type the hue value in H.</font>''</span> The hue can be any number from 0 to 359. The numbers correspond to the degree numbers on the color square ([MIPAV_Segmentation.html#1033995 Figure 185]). For example, to specify a shade of blue, enter a number from 255 to 270. The slider automatically moves the correct hue on the color strip.<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 48pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -12pt; text-transform: none; vertical-align: baseline"><font color="#000000">  <span style="font-weight: normal; text-decoration: none; text-transform: none; vertical-align: baseline">''<font color="#000000">Type the saturation value in S.</font>''</span> The level of saturation can be anywhere from 0 (gray) to 100 (full-strength hue). When you type a value into this box, a circle appears in the color square around the color with the specified saturation level. Colors to the left of the color graphic are circled if the saturation level is high. Lower saturated colors are found to the left of the color graphic.<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 48pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -12pt; text-transform: none; vertical-align: baseline"><font color="#000000">  <span style="font-weight: normal; text-decoration: none; text-transform: none; vertical-align: baseline">''<font color="#000000">Type the brightness value in B.</font>''</span> The level of brightness can be anywhere from 0 (dark) to 100 (light). In the color graphic, a circle appears around the color with the specified brightness level. Colors near the top of the color graphic are circled if the saturation level is high. Darker colors are found near the bottom of the color graphic.<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 36pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -12pt; text-transform: none; vertical-align: baseline"><font color="#000000">  Select the hue, saturation, and brightness on the color square or color strip:<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 48pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -12pt; text-transform: none; vertical-align: baseline"><font color="#000000">  Drag the slider to select the desired hue from the color strip.<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 48pt; margin-right: 0pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: -12pt; text-transform: none; vertical-align: baseline"><font color="#000000">  Select the shade you wish to use in the color square.<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -18pt; text-transform: none; vertical-align: baseline"><font color="#000000">  4 Click Close when done. The Pick Paint Color dialog box closes. The color you selected becomes the current paint color.<br /></font></div>
+
'''To select a color from one of the 310 color swatches'''<br />
 +
1 Click the Change Paint Color icon. The Pick Paint Color dialog box (Figure 3) opens.<br />
 +
2 Stay on the Swatches page, or, if you moved to HSB or RGB pages, click Swatches to return to the Swatches page.<br />
 +
3 Click the desired color in the larger grid. The color appears in the Recent color grid on the right.<br />
 +
4 Click Close when done. The Pick Paint Color dialog box closes. The color you selected becomes the current paint color.<br />
  
 +
'''To select a color using the HSB model'''<br />
 +
1 Click the Change Paint Color icon. The Pick Paint Color dialog box opens.<br />
 +
2 Click HSB. The HSB page appears (Figure 4B).<br />
 +
3 Specify a color by entering specific numbers for the hue, saturation, and brightness values, or select the color from the color graphic.<br />
 +
Enter specific values into the H, S, and B boxes:<br />
 +
Type the hue value in H. The hue can be any number from 0 to 359. The numbers correspond to the degree numbers on the color square (Figure 5). For example, to specify a shade of blue, enter a number from 255 to 270. The slider automatically moves the correct hue on the color strip.<br />Type the saturation value in S. The level of saturation can be anywhere from 0 (gray) to 100 (full-strength hue). When you type a value into this box, a circle appears in the color square around the color with the specified saturation level. Colors to the left of the color graphic are circled if the saturation level is high. Lower saturated colors are found to the left of the color graphic.<br />
 +
Type the brightness value in B. The level of brightness can be anywhere from 0 (dark) to 100 (light). In the color graphic, a circle appears around the color with the specified brightness level. Colors near the top of the color graphic are circled if the saturation level is high. Darker colors are found near the bottom of the color graphic.<br />
 +
Select the hue, saturation, and brightness on the color square or color strip:<br />Drag the slider to select the desired hue from the color strip.<br />Select the shade you wish to use in the color square.<br />
 +
4 Click Close when done. The Pick Paint Color dialog box closes. The color you selected becomes the current paint color.<br />
 
==== Pick Paint Color dialog box options ====
 
==== Pick Paint Color dialog box options ====
 
<div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 0pt; margin-right: 0pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000">
 
  
 
{| 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 183. Swatches page in the Pick Paint Color dialog box<br /></font>'''</div>
+
|+ '''Figure 3. Swatches page in the Pick Paint Color dialog box'''
 
|- bgcolor="#CCCCCC"
 
|- bgcolor="#CCCCCC"
 
! rowspan="1" colspan="2" |
 
! rowspan="1" colspan="2" |
<div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 0pt; margin-right: 0pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> <br clear="all" />{| align="center" | [[Image:dialogboxPickPaintColorSwatches.jpg]] |}<br clear="all" /><br /></font></div>
+
[[Image:dialogboxPickPaintColorSwatches.jpg]]  
 
|- bgcolor="#CCCCCC"
 
|- bgcolor="#CCCCCC"
 
!
 
!
Line 119: Line 132:
 
|}
 
|}
  
<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 0pt; margin-right: 0pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000">
 
  
 
{| 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 184. The HSB page in the Pick Paint Color dialog box<br /></font>'''</div>
+
|+ '''Figure 4. The HSB page in the Pick Paint Color dialog box'''
 
|-
 
|-
 
| rowspan="1" colspan="2" |
 
| rowspan="1" colspan="2" |
<div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 0pt; margin-right: 0pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> <br clear="all" />{| align="center"
 
|
 
 
[[Image:dialogboxPickPaintColorHSB.jpg]]
 
[[Image:dialogboxPickPaintColorHSB.jpg]]
|}<br clear="all" /><br /></font></div>
 
 
|-
 
|-
 
|
 
|
Line 191: Line 200:
 
|}
 
|}
  
<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 600pt; margin-left: 0pt; margin-right: 0pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> <br /></font></div><div style="font-style: normal; margin-bottom: 6pt; margin-left: 0pt; margin-right: 0pt; margin-top: 14pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline">'''<font color="#000000"> To select a color using the RGB model<br /></font>'''</div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -18pt; text-transform: none; vertical-align: baseline"><font color="#000000"> 1 Click the Change Paint Color icon. The Pick Paint Color dialog box opens.<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -18pt; text-transform: none; vertical-align: baseline"><font color="#000000">  2 Click RGB. The RGB page ([MIPAV_Segmentation.html#1346190 Figure 184]C) appears.<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -18pt; text-transform: none; vertical-align: baseline"><font color="#000000">  3 Specify the numbers for the three components (red, green, and blue), or use the sliders to select a color.<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -18pt; text-transform: none; vertical-align: baseline"><font color="#000000">  4 Click Close when done. The Pick Paint Color dialog box closes. The color you selected becomes the current paint color.<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 0pt; margin-right: 0pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> <br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 0pt; margin-right: 0pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> <br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 0pt; margin-right: 0pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000">
+
'''To select a color using the RGB model'''<br />
 +
1 Click the Change Paint Color icon. The Pick Paint Color dialog box opens.<br />
 +
2 Click RGB. The RGB page (Figure 4C) appears.<br />
 +
3 Specify the numbers for the three components (red, green, and blue), or use the sliders to select a color.<br />
 +
4 Click Close when done. The Pick Paint Color dialog box closes. The color you selected becomes the current paint color.<br />
  
 
{| 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 185. Munsell color wheel (left) and color strip (right)<br /></font>'''</div>
+
|+ '''Figure 5. Munsell color wheel (left) and color strip (right)'''
 
|-
 
|-
 
| rowspan="1" colspan="2" |
 
| rowspan="1" colspan="2" |
Line 202: Line 215:
 
<div class="CellBody">The HSB color model defines colors by a combination of their hue, saturation, and brightness. </div> <div class="CellBody">The <span style="font-weight: normal; text-decoration: none; text-transform: none; vertical-align: baseline">''<font color="#000000">hue </font>''</span>is the wavelength of light transmitted through or reflected from an object. The hue is more commonly known as <span style="font-weight: normal; text-decoration: none; text-transform: none; vertical-align: baseline">''<font color="#000000">color </font>''</span>(such as magenta or green).</div> <div class="CellBody">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. </div> <div class="CellBody">For example, yellow is approximately 45 degrees; 50 degrees is a different shade of yellow. </div>
 
<div class="CellBody">The HSB color model defines colors by a combination of their hue, saturation, and brightness. </div> <div class="CellBody">The <span style="font-weight: normal; text-decoration: none; text-transform: none; vertical-align: baseline">''<font color="#000000">hue </font>''</span>is the wavelength of light transmitted through or reflected from an object. The hue is more commonly known as <span style="font-weight: normal; text-decoration: none; text-transform: none; vertical-align: baseline">''<font color="#000000">color </font>''</span>(such as magenta or green).</div> <div class="CellBody">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. </div> <div class="CellBody">For example, yellow is approximately 45 degrees; 50 degrees is a different shade of yellow. </div>
 
|
 
|
<div class="CellBody">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.</div> <div class="CellBody">The color strip is simply a different representation of the color wheel. Degrees and corresponding hues were added to the figure.</div> <div class="CellBody"><span style="font-weight: normal; text-decoration: none; text-transform: none; vertical-align: baseline">''<font color="#000000">Saturation</font>''</span> 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).</div> <div class="CellBody"><span style="font-weight: normal; text-decoration: none; text-transform: none; vertical-align: baseline">''<font color="#000000">Brightness</font>''</span> is the relative darkness and lightness of a color; 0% brightness is black; 100% brightness is white.</div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 0pt; margin-right: 0pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> Â <br /></font></div>
+
<div class="CellBody">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.</div> <div class="CellBody">The color strip is simply a different representation of the color wheel. Degrees and corresponding hues were added to the figure.</div> <div class="CellBody"><span style="font-weight: normal; text-decoration: none; text-transform: none; vertical-align: baseline">''<font color="#000000">Saturation</font>''</span> 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).</div> <div class="CellBody"><span style="font-weight: normal; text-decoration: none; text-transform: none; vertical-align: baseline">''<font color="#000000">Brightness</font>''</span> is the relative darkness and lightness of a color; 0% brightness is black; 100% brightness is white.</div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 0pt; margin-right: 0pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> <br /></font></div>
 
|-
 
|-
 
| rowspan="1" colspan="2" |
 
| rowspan="1" colspan="2" |
<div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 0pt; margin-right: 0pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> <br clear="all" />{| align="center"
 
|
 
 
[[Image:exampleColorWheelStrip.jpg]]
 
[[Image:exampleColorWheelStrip.jpg]]
|}<br clear="all" /><br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 0pt; margin-right: 0pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> Â <br /></font></div>
 
 
|}
 
|}
 
<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 0pt; margin-right: 0pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> <br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 0pt; margin-right: 0pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> <br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 0pt; margin-right: 0pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> <br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 0pt; margin-right: 0pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> <br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 0pt; margin-right: 0pt; margin-top: 8pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> <br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 0pt; margin-right: 0pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000">
 
  
 
{| 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 186. RGB page in the Pick Paint Color dialog box <br /></font>'''</div>
+
|+ <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 6. RGB page in the Pick Paint Color dialog box <br /></font>'''</div>
 
|-
 
|-
 
| rowspan="1" colspan="2" |
 
| rowspan="1" colspan="2" |
<div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 0pt; margin-right: 0pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> <br clear="all" />{| align="center"
 
|
 
 
[[Image:dialogboxPickBorderColorRGB.jpg]]
 
[[Image:dialogboxPickBorderColorRGB.jpg]]
|}<br clear="all" /><br /></font></div>
 
 
|-
 
|-
 
|
 
|
Line 257: Line 262:
 
<div class="CellBody">Displays online help for this dialog box.</div>
 
<div class="CellBody">Displays online help for this dialog box.</div>
 
|}
 
|}
 
<br /></font></div>
 
  
 
==== Step 3, Adjust the opacity level of the paint ====
 
==== Step 3, Adjust the opacity level of the paint ====
 
+
You can further refine the appearance of the paint selecting its opacity level. Opacity levels can range from 0.0 (transparent) to 1.0 (opaque). <br /><
<div style="font-style: normal; font-weight: normal; margin-bottom: 6pt; margin-left: 0pt; margin-right: 0pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> You can further refine the appearance of the paint selecting its opacity level. Opacity levels can range from 0.0 (transparent) to 1.0 (opaque). <br /></font></div><div style="font-style: normal; margin-bottom: 6pt; margin-left: 0pt; margin-right: 0pt; margin-top: 14pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline">'''<font color="#000000"> To change the opacity level<br /></font>'''</div><div style="font-style: normal; font-weight: normal; margin-bottom: 6pt; margin-left: 0pt; margin-right: 0pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> [[Image:ChangeOpacityOfPaintIco.jpg]] - Change Opacity of Paint<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -18pt; text-transform: none; vertical-align: baseline"><font color="#000000">  1 Click the Change Opacity of Paint icon on the Paint toolbar. The Paint Opacity window appears ([MIPAV_Segmentation.html#1038088 Figure 187]).<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -18pt; text-transform: none; vertical-align: baseline"><font color="#000000">  2 Drag the slider to the desired level of opacity. The current level appears in the bold print underneath the slider.<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -18pt; text-transform: none; vertical-align: baseline"><font color="#000000">  3 Click Close to apply the opacity level. The opacity level on the image changes according to your specifications.<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 0pt; margin-right: 0pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000">
+
'''To change the opacity level'''<br />
 +
[[Image:ChangeOpacityOfPaintIco.jpg]] - Change Opacity of Paint<br />
 +
1 Click the Change Opacity of Paint icon on the Paint toolbar. The Paint Opacity window appears (Figure 7).<br />
 +
2 Drag the slider to the desired level of opacity. The current level appears in the bold print underneath the slider.<br />
 +
3 Click Close to apply the opacity level. The opacity level on the image changes according to your specifications.<br />
  
 
{| 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 187. Paint Opacity dialog box<br /></font>'''</div>
+
|+ '''Figure 7. Paint Opacity dialog box'''
 
|-
 
|-
 
|
 
|
Line 272: Line 279:
 
<div class="CellBody">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.</div>
 
<div class="CellBody">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.</div>
 
| rowspan="2" colspan="1" |
 
| rowspan="2" colspan="1" |
<div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 0pt; margin-right: 0pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> <br clear="all" />{| align="center"
 
|
 
 
[[Image:dialogboxPaintOpacity.jpg]]
 
[[Image:dialogboxPaintOpacity.jpg]]
|}<br clear="all" /><br /></font></div>
 
 
|-
 
|-
 
|
 
|
Line 283: Line 287:
 
|}
 
|}
  
<br /></font></div>
 
  
 
==== Step 4, Apply paint ====
 
==== Step 4, Apply paint ====
  
<div style="font-style: normal; font-weight: normal; margin-bottom: 6pt; margin-left: 0pt; margin-right: 0pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> Having selected the intensity level, paint color, and opacity level, you are now ready to paint on the image with the paintbrush.<br /></font></div>
+
Having selected the intensity level, paint color, and opacity level, you are now ready to paint on the image with the paintbrush.<br />
  
 
[[Image:DrawIsongBrushIco.jpg]] - Draw Using a Brush
 
[[Image:DrawIsongBrushIco.jpg]] - Draw Using a Brush
Line 293: Line 296:
 
===== To paint on the image =====
 
===== To paint on the image =====
  
<div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 0pt; margin-right: 0pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> <br clear="all" />
+
{|
 
+
{| align="center"
+
 
|
 
|
 
[[Image:PaintToolbar.jpg]]
 
[[Image:PaintToolbar.jpg]]
 
|}
 
|}
  
<br clear="all" /><br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -18pt; text-transform: none; vertical-align: baseline"><font color="#000000">  1 Click the Draw Using a Brush icon, on the Paint toolbar in the MIPAV window.<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -18pt; text-transform: none; vertical-align: baseline"><font color="#000000">  2 Specify the size of the paintbrush tip.<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -18pt; text-transform: none; vertical-align: baseline"><font color="#000000">  3 Click and drag the mouse button to paint on the drawing. You can select one pixel at a time, or drag the mouse button to draw paint strokes on the image. <br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 0pt; margin-right: 0pt; margin-top: 5pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> <span style="font-style: normal; text-decoration: none; text-transform: none; vertical-align: baseline">'''<font color="#000000">Tip:</font>'''</span> You may need to use the magnification buttons to adjust the magnification level of the image.<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> If you make a mistake, you can erase or undo the painted area.<br /></font></div><div style="font-style: normal; margin-bottom: 6pt; margin-left: 0pt; margin-right: 0pt; margin-top: 14pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline">'''<font color="#000000"> To erase paint from a specific area<br /></font>'''</div><div style="font-style: normal; font-weight: normal; margin-bottom: 6pt; margin-left: 0pt; margin-right: 0pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> [[Image:ErasesPaintIco.jpg]] - Erases Paint<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -18pt; text-transform: none; vertical-align: baseline"><font color="#000000">  1 Click the Erase icon.<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -18pt; text-transform: none; vertical-align: baseline"><font color="#000000">  2 Select the size of the eraser tip.<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -18pt; text-transform: none; vertical-align: baseline"><font color="#000000">  3 Use the mouse to begin erasing. You can select one pixel at a time, or you can drag the mouse. <br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 0pt; margin-right: 0pt; margin-top: 5pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> <span style="font-style: normal; text-decoration: none; text-transform: none; vertical-align: baseline">'''<font color="#000000">Tip:</font>'''</span> When erasing the paint, it may be easier to magnify the size of the image using the magnification icons.<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> To resume painting, click the Draw Using a Brush icon.<br /></font></div><div style="font-style: normal; margin-bottom: 6pt; margin-left: 0pt; margin-right: 0pt; margin-top: 14pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline">'''<font color="#000000"> To erase all paint <br /></font>'''</div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 0pt; margin-right: 0pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> [[Image:EraseAllPaint.jpg]] - Erase All Paint<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 0pt; margin-right: 0pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> [[Image:UndoIco.jpg]] - Undo<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -18pt; text-transform: none; vertical-align: baseline"><font color="#000000">  1 Do one of the following as appropriate:<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 36pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -12pt; text-transform: none; vertical-align: baseline"><font color="#000000">  Click the Erase all paint icon, which removes all paint from the image.<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 36pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -12pt; text-transform: none; vertical-align: baseline"><font color="#000000">  Click the Undo last region paint icon, which allows you to undo the last paint stroke.<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 18pt; margin-right: 0pt; margin-top: 6pt; text-align: left; text-decoration: none; text-indent: -18pt; text-transform: none; vertical-align: baseline"><font color="#000000">  2 Click the Default Mode icon, when you have finished painting the image.<br /></font></div>
+
 
 +
1 Click the Draw Using a Brush icon, on the Paint toolbar in the MIPAV window.<br />
 +
2 Specify the size of the paintbrush tip.<br />
 +
3 Click and drag the mouse button to paint on the drawing. You can select one pixel at a time, or drag the mouse button to draw paint strokes on the image. <br />
 +
'''Tip:''' You may need to use the magnification buttons to adjust the magnification level of the image.<br />If you make a mistake, you can erase or undo the painted area.<br />To erase paint from a specific area<br />[[Image:ErasesPaintIco.jpg]] - Erases Paint<br />
 +
1 Click the Erase icon.<br />
 +
2 Select the size of the eraser tip.<br />
 +
3 Use the mouse to begin erasing. You can select one pixel at a time, or you can drag the mouse. <br />
 +
'''Tip:''' When erasing the paint, it may be easier to magnify the size of the image using the magnification icons.<br />
 +
To resume painting, click the Draw Using a Brush icon.<br />
 +
To erase all paint <br />[[Image:EraseAllPaint.jpg]] - Erase All Paint<br />
 +
[[Image:UndoIco.jpg]] - Undo<br />
 +
1 Do one of the following as appropriate:<br />
 +
Click the Erase all paint icon, which removes all paint from the image.<br />
 +
Click the Undo last region paint icon, which allows you to undo the last paint stroke.<br />
 +
2 Click the Default Mode icon, when you have finished painting the image.<br />
  
 
==== Step 5, Commit ====
 
==== Step 5, Commit ====
 
+
When you visualize a dataset in MIPAV, a composite of several layers appears in the default image window. The image layer contains the original image. The next two layers contain the results of applied utilities, algorithms, and paint. The fourth layer contains VOI contour information. When you click the commit icons. e.g. the Masks Inside Painted Area icon or Masks Outside Painted Area icon, the paint and utility/algorithm layers are merged with the image layer and saved as a new file.<br />
<div style="font-style: normal; font-weight: normal; margin-bottom: 6pt; margin-left: 0pt; margin-right: 0pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> When you visualize a dataset in MIPAV, a composite of several layers appears in the default image window. The image layer contains the original image. The next two layers contain the results of applied utilities, algorithms, and paint. The fourth layer contains VOI contour information. When you click the commit icons. e.g. the Masks Inside Painted Area icon or Masks Outside Painted Area icon, the paint and utility/algorithm layers are merged with the image layer and saved as a new file.<br /></font></div>
+
  
 
To commit changes, select one of the following commit icons:
 
To commit changes, select one of the following commit icons:
 
+
[[Image:MasksInsidePaintedAreaIco.jpg]] - the Masks Inside Painted Area icon. This tool shows the image without the area you painted (Figure 8-C).<br />[[Image:MasksOutsidePaintedAreaIco.jpg]] - the Masks Outside Painted Area icon. This tool removes the painted area from the image and shows only the removed area (Figure 8-B).<br />The software redraws the dataset with the intensity levels indicated on the image. You may need to adjust the lookup table (LUT) to see the image more clearly, as it has been dome for the image shown in Figure 8-C. Instructions for adjusting the LUT appear in Chapter 5, "Visualizing Images."<br />
<div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 0pt; margin-right: 0pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> [[Image:MasksInsidePaintedAreaIco.jpg]] - the Masks Inside Painted Area icon. This tool shows the image without the area you painted ([MIPAV_Segmentation.html#1609687 Figure 188]-C).<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 0pt; margin-right: 0pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> [[Image:MasksOutsidePaintedAreaIco.jpg]] - the Masks Outside Painted Area icon. This tool removes the painted area from the image and shows only the removed area ([MIPAV_Segmentation.html#1609687 Figure 188]-B).<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 0pt; margin-right: 0pt; margin-top: 5pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> The software redraws the dataset with the intensity levels indicated on the image. You may need to adjust the lookup table (LUT) to see the image more clearly, as it has been dome for the image shown in [MIPAV_Segmentation.html#1609687 Figure 188]-C. Instructions for adjusting the LUT appear in Chapter 5, "Visualizing Images."<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 0pt; margin-right: 0pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000">
+
  
 
{| 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 188. The painted region (a) and the mask produced using the Mask the Outside Painted Area tool (b) and Mask the Inside Painted Area tool (c). Here, arrows point to the painted region.<br /></font>'''</div>
+
|+ '''Figure 8. The painted region (a) and the mask produced using the Mask the Outside Painted Area tool (b) and Mask the Inside Painted Area tool (c). Here, arrows point to the painted region.'''
 
|-
 
|-
|
 
<div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 0pt; margin-right: 0pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> <br clear="all" />{| align="center"
 
 
|
 
|
 
[[Image:OriginalMask.jpg]]
 
[[Image:OriginalMask.jpg]]
|}<br clear="all" /><br /></font></div> <div class="CellBody">a</div>
 
|
 
<div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 0pt; margin-right: 0pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> <br clear="all" />{| align="center"
 
 
|
 
|
 
[[Image:InsideMask.jpg]]
 
[[Image:InsideMask.jpg]]
|}<br clear="all" /><br /></font></div> <div class="CellBody">b</div>
 
|
 
<div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 0pt; margin-right: 0pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> <br clear="all" />{| align="center"
 
 
|
 
|
 
[[Image:OutsideMask.jpg]]
 
[[Image:OutsideMask.jpg]]
|}<br clear="all" /><br /></font></div> <div class="CellBody">c</div>
+
|-
 +
|a
 +
|b
 +
|c
 
|}
 
|}
  
<br /></font></div><div style="font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 0pt; margin-right: 0pt; margin-top: 0pt; text-align: left; text-decoration: none; text-indent: 0pt; text-transform: none; vertical-align: baseline"><font color="#000000"> <br /></font></div>
+
===Section Con't in [[Creating a mask using the Paint Grow Segmentation method]] ===

Latest revision as of 18:11, 21 February 2012

A mask is a filter that selectively includes or excludes certain values. You can create a mask that includes the VOI areas and excludes all other areas. Masks are particularly helpful if you use other applications to further analyze images because those programs may require that you supply a mask. An example of a mask appears in Figure 1.

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.

Figure 1. Image with (A) a painted region and (B) the resulting mask

ExamplePaintandMask.jpg


Manually creating a mask using paint

You can manually create a mask using the tools on the Paint toolbar, which is located in the MIPAV window. To create the mask, you first select the intensity level of the paint, along with the paint color and opacity value. Next, you paint on the image using the paint brush. You can adjust the size of the paint brush tip. When complete, you then commit the paint by choosing one of the following icons:
MasksInsidePaintedAreaIco.jpg - Masks Inside the Painted Area
MasksOutsidePaintedAreaIco.jpg - Masks Outside the Painted Area

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 toolbars" in Chapter 3.

Manually generating a mask includes the following four steps:

  • Step 1, Selecting the paint intensity level
  • Step 2, Selecting a paint color
  • Step 3, Adjusting the opacity level of the paint
  • Step 4, Applying the paint

Step 1, Selecting the paint intensity level

The first step in manually creating a mask is to select the intensity level of the masked area.You can select the intensity level by using the eyedropper tool to select an intensity value that is already present in an image or by typing a specific intensity value in the Desired Paint Intensity dialog box.
To select the intensity level using the Eyedropper tool
PIckColorIco.jpg - Eyedropper
The eyedropper allows you to copy an intensity level that is already present in the image. To use this tool, complete the following steps:
1 Click the Eyedropper icon, on the paint toolbar in the MIPAV window.
2 Click the area of the image that has the intensity level you want to copy. The intensity shown at the bottom of the MIPAV window changes to the intensity level in the part of the image you've selected.
Example: Initially, the intensity level button shows a zero on the button. However, when you click an area of the image, it displays the number that is associated with that part of the image, such as 250.
You can enter a specific intensity level value in the Desired Paint Intensity window. To do this, complete the following steps:
1 Click the Intensity button.
Note: If you changed the intensity level using the eyedropper or this button previously in your current MIPAV session, the number on the Intensity button would have changed from 0 to the number representing that earlier intensity level.
The Desired Paint Intensity dialog box opens.
2 Notice that the minimum and maximum intensity values appear in parentheses. These values depend on the image type, or data type, of the image.
Tip: You can look at the exact intensity levels in the image using ButtonMagnifyRegion.jpg , the Magnify region icon.

Figure 2. Desired Paint Intensity dialog box
Intensity
Specifies the intensity, or strength, of the paint.

DialogboxDesiredPaintIntensity.jpg

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.

3 Type the desired level of intensity.
4 Click Apply to apply the intensity level to the paint. Note that the number on the Intensity button changes to the number you entered.
5 Click ButtonClose.jpg or Cancel to close the dialog box.

Step 2, Selecting a paint color

ChoosePaintColorIco.jpg - Change Paint Color
After you select the intensity level, the next step is selecting the paint color. The program applies this color to the image so that you can easily see where you applied the new intensity. When you commit the changes to the image, the grayscale intensity level that you indicated in step 1 is permanently applied to the image.

To select a color, use the Change Paint Color icon, to display the Pick Paint Color dialog box (Figure 4). 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.

To select a color from one of the 310 color swatches
1 Click the Change Paint Color icon. The Pick Paint Color dialog box (Figure 3) opens.
2 Stay on the Swatches page, or, if you moved to HSB or RGB pages, click Swatches to return to the Swatches page.
3 Click the desired color in the larger grid. The color appears in the Recent color grid on the right.
4 Click Close when done. The Pick Paint Color dialog box closes. The color you selected becomes the current paint color.

To select a color using the HSB model
1 Click the Change Paint Color icon. The Pick Paint Color dialog box opens.
2 Click HSB. The HSB page appears (Figure 4B).
3 Specify a color by entering specific numbers for the hue, saturation, and brightness values, or select the color from the color graphic.
Enter specific values into the H, S, and B boxes:
Type the hue value in H. The hue can be any number from 0 to 359. The numbers correspond to the degree numbers on the color square (Figure 5). For example, to specify a shade of blue, enter a number from 255 to 270. The slider automatically moves the correct hue on the color strip.
Type the saturation value in S. The level of saturation can be anywhere from 0 (gray) to 100 (full-strength hue). When you type a value into this box, a circle appears in the color square around the color with the specified saturation level. Colors to the left of the color graphic are circled if the saturation level is high. Lower saturated colors are found to the left of the color graphic.
Type the brightness value in B. The level of brightness can be anywhere from 0 (dark) to 100 (light). In the color graphic, a circle appears around the color with the specified brightness level. Colors near the top of the color graphic are circled if the saturation level is high. Darker colors are found near the bottom of the color graphic.
Select the hue, saturation, and brightness on the color square or color strip:
Drag the slider to select the desired hue from the color strip.
Select the shade you wish to use in the color square.
4 Click Close when done. The Pick Paint Color dialog box closes. The color you selected becomes the current paint color.

Pick Paint Color dialog box options

Figure 3. Swatches page in the Pick Paint Color dialog box

DialogboxPickPaintColorSwatches.jpg

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.


Figure 4. The HSB page in the Pick Paint Color dialog box

DialogboxPickPaintColorHSB.jpg

Color square
Specifies a specific color to be used as the background color.
Color strip
Specifies a specific color to be used as the background color.
H
Specifies the number representing the hue of the color.
S
Specifies the number representing the saturation of the color.
B
Specifies the number representing the brightness of the color.
R
Specifies the number for the color used for the red channel.
G
Specifies the number for the color used for the green channel.
B
Specifies the number for the color used for the blue channel.
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.

To select a color using the RGB model
1 Click the Change Paint Color icon. The Pick Paint Color dialog box opens.
2 Click RGB. The RGB page (Figure 4C) appears.
3 Specify the numbers for the three components (red, green, and blue), or use the sliders to select a color.
4 Click Close when done. The Pick Paint Color dialog box closes. The color you selected becomes the current paint color.

Figure 5. Munsell color wheel (left) and color strip (right)
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.

ExampleColorWheelStrip.jpg

Figure 6. RGB page in the Pick Paint Color dialog box

DialogboxPickBorderColorRGB.jpg

Red slider and list box
Specifies the number representing the red channel. Either use the slider, or select the number in the list box.
Green slider and list box
Specifies the number representing the green channel. Either use the slider, or select the number in the list box.
Blue slider and list box
Specifies the number representing the blue channel. Either use the slider, or select the number in the list box.
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.

Step 3, Adjust the opacity level of the paint

You can further refine the appearance of the paint selecting its opacity level. Opacity levels can range from 0.0 (transparent) to 1.0 (opaque).
< To change the opacity level
ChangeOpacityOfPaintIco.jpg - Change Opacity of Paint
1 Click the Change Opacity of Paint icon on the Paint toolbar. The Paint Opacity window appears (Figure 7).
2 Drag the slider to the desired level of opacity. The current level appears in the bold print underneath the slider.
3 Click Close to apply the opacity level. The opacity level on the image changes according to your specifications.

Figure 7. Paint Opacity dialog box
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.

DialogboxPaintOpacity.jpg

Close
Closes this dialog box.


Step 4, Apply paint

Having selected the intensity level, paint color, and opacity level, you are now ready to paint on the image with the paintbrush.

DrawIsongBrushIco.jpg - Draw Using a Brush

To paint on the image

PaintToolbar.jpg


1 Click the Draw Using a Brush icon, on the Paint toolbar in the MIPAV window.
2 Specify the size of the paintbrush tip.
3 Click and drag the mouse button to paint on the drawing. You can select one pixel at a time, or drag the mouse button to draw paint strokes on the image.
Tip: You may need to use the magnification buttons to adjust the magnification level of the image.
If you make a mistake, you can erase or undo the painted area.
To erase paint from a specific area
ErasesPaintIco.jpg - Erases Paint
1 Click the Erase icon.
2 Select the size of the eraser tip.
3 Use the mouse to begin erasing. You can select one pixel at a time, or you can drag the mouse.
Tip: When erasing the paint, it may be easier to magnify the size of the image using the magnification icons.
To resume painting, click the Draw Using a Brush icon.
To erase all paint
EraseAllPaint.jpg - Erase All Paint
UndoIco.jpg - Undo
1 Do one of the following as appropriate:
Click the Erase all paint icon, which removes all paint from the image.
Click the Undo last region paint icon, which allows you to undo the last paint stroke.
2 Click the Default Mode icon, when you have finished painting the image.

Step 5, Commit

When you visualize a dataset in MIPAV, a composite of several layers appears in the default image window. The image layer contains the original image. The next two layers contain the results of applied utilities, algorithms, and paint. The fourth layer contains VOI contour information. When you click the commit icons. e.g. the Masks Inside Painted Area icon or Masks Outside Painted Area icon, the paint and utility/algorithm layers are merged with the image layer and saved as a new file.

To commit changes, select one of the following commit icons: MasksInsidePaintedAreaIco.jpg - the Masks Inside Painted Area icon. This tool shows the image without the area you painted (Figure 8-C).
MasksOutsidePaintedAreaIco.jpg - the Masks Outside Painted Area icon. This tool removes the painted area from the image and shows only the removed area (Figure 8-B).
The software redraws the dataset with the intensity levels indicated on the image. You may need to adjust the lookup table (LUT) to see the image more clearly, as it has been dome for the image shown in Figure 8-C. Instructions for adjusting the LUT appear in Chapter 5, "Visualizing Images."

Figure 8. The painted region (a) and the mask produced using the Mask the Outside Painted Area tool (b) and Mask the Inside Painted Area tool (c). Here, arrows point to the painted region.

OriginalMask.jpg

InsideMask.jpg

OutsideMask.jpg

a b c

Section Con't in Creating a mask using the Paint Grow Segmentation method