Difference between revisions of "Segmenting Images Using Contours and Masks:Converting VOI contours to masks"

From MIPAV
Jump to: navigation, search
(Converting VOI contours to masks)
 
Line 10: Line 10:
 
'''To convert a contoured VOI to a paint mask'''<br />
 
'''To convert a contoured VOI to a paint mask'''<br />
 
1 Contour the VOI. For instructions on how to contour VOIs, refer to "Using contours to segment a VOI".<br />
 
1 Contour the VOI. For instructions on how to contour VOIs, refer to "Using contours to segment a VOI".<br />
2 Select the color, opacity, and intensity level of the paint.<br /><
+
2 Select the color, opacity, and intensity level of the paint.<br />
 
3 Select <span style="font-style: normal; text-decoration: none; text-transform: none; vertical-align: baseline">'''<font color="#000000">VOI &gt; Mask &gt; VOI(s) to Paint Mask</font>'''</span>. The contours are filled with the default paint color.<br />
 
3 Select <span style="font-style: normal; text-decoration: none; text-transform: none; vertical-align: baseline">'''<font color="#000000">VOI &gt; Mask &gt; VOI(s) to Paint Mask</font>'''</span>. The contours are filled with the default paint color.<br />
 
4 Delete the contours by right-clicking the VOI and selecting Edit &gt; Delete.<br />
 
4 Delete the contours by right-clicking the VOI and selecting Edit &gt; Delete.<br />

Latest revision as of 18:32, 21 February 2012

You can convert a contoured VOI to a binary, short, or paint mask using the options found in the VOI menu in the MIPAV window.
To convert a contoured VOI to a binary mask
In a binary mask, the value 1 is assigned to the area inside the VOI; 0 is assigned to the area outside the VOI. Thus, typically, the area that represents the VOI is white, while the area outside the VOI is black.
1 Select VOI > Mask > VOI(s) to Binary Mask. The binary mask appears in a separate image window.
2 Save the image (optional).

To convert a contoured VOI to a short mask
In a short mask, the values 1 to 65,535 are assigned to the area inside the VOI; 0 is assigned to the area outside the VOI. Thus, typically, the area that represents the VOI is several shades of gray and the area outside is black.
1 Select VOI > Mask > VOI(s) to short mask option. The short mask appears in a separate image window.
2 Save the image (optional).

To convert a contoured VOI to a paint mask
1 Contour the VOI. For instructions on how to contour VOIs, refer to "Using contours to segment a VOI".
2 Select the color, opacity, and intensity level of the paint.
3 Select VOI > Mask > VOI(s) to Paint Mask. The contours are filled with the default paint color.
4 Delete the contours by right-clicking the VOI and selecting Edit > Delete.
5 Save the image (optional).

Segmenting Images Using Contours and Masks: Converting masks to VOI contours and paints