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)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
== Converting VOI contours to masks ==
+
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.<br />''' To convert a contoured VOI to a binary mask'''<br />
 +
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. <br />
 +
1 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 Binary Mask</font>'''</span>. The binary mask appears in a separate image window.<br />
 +
2 Save the image (optional).<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 convert a contoured VOI to a binary, short, or paint mask using the options found in the VOI menu in the MIPAV window.<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 convert a contoured VOI to a binary mask<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"> 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. <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 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 Binary Mask</font>'''</span>. The binary mask appears in a separate image 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 Save the image (optional).<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 convert a contoured VOI to a short mask<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"> 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. <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 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 short mask</font>'''</span> option. The short mask appears in a separate image 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 Save the image (optional).<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 convert a contoured VOI to a paint mask<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 Contour the VOI. For instructions on how to contour VOIs, refer to "Using contours to segment a VOI".<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 color, opacity, and intensity level of the 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">  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 /></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 Delete the contours by right-clicking the VOI and selecting Edit &gt; Delete.<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 Save the image (optional).<br /></font></div>
+
'''To convert a contoured VOI to a short mask'''<br />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. <br />
 +
1 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 short mask</font>'''</span> option. The short mask appears in a separate image window.<br />
 +
2 Save the image (optional).<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 />
 +
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 />
 +
4 Delete the contours by right-clicking the VOI and selecting Edit &gt; Delete.<br />
 +
5 Save the image (optional).<br />
  
 
[[Segmenting Images Using Contours and Masks: Converting masks to VOI contours and paints]]
 
[[Segmenting Images Using Contours and Masks: Converting masks to VOI contours and paints]]

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