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

From MIPAV
Jump to: navigation, search

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