Quantify Mask

From MIPAV
Jump to: navigation, search

There are two algorithms Quantify Mask(s) and Quantify Using Mask that calculate Center of Mass, area (in resolutions), and number of pixels for a selected mask(s). The algorithms work with Boolean, byte, unsigned byte, and short masks.

Figure 49. The Quantify dialog box
Identify Image Mask file
Choose
Press to select an image mask from your hard drive.

QuantifyDialogBox.jpg

OK
Applies the Quantify masks(s) or Quantify Using Mask algorithms to the image(s).
Cancel
Disregards any changes you made in this dialog box and closes the dialog box.
Help
Displays online help for this dialog box.

To apply the Quantify Mask(s) algorithm:
1 Open an image of interest.
2 Create a mask as described in Chapter 8, "Generating masks".
3 Save the mask as Boolean, byte, unsigned byte, or short.
4 Alternatively, you can open the mask file from the disk using the Quantify dialog box options.

Note: the algorithm doesn't work for paint masks.
5 Call Utilities>Quantify> Quantify Mask(s).
6 The algorithm begins to run and the data appear in the Output window. See Figure 50.
7 Later, you can save the data using the File>Save Images option provided by the Output window.


Figure 50. The Quantify Mask(s) algorithm

QuantifyMasks.jpg

To apply the Quantify Using Mask algorithm:
1 Open an image of interest.
2 Create the image mask as described in Chapter 8, "Generating masks".
3 Alternatively, you can open the mask file from the disk.
4 Call Utilities>Quantify> Quantify Using Mask.
5 The algorithm begins to run and the data appear in the Output window. See Figure 51.
6 Later, you can save the data using the File>Save Images option provided by the Output window.
Note: the algorithm works with Boolean, byte, unsigned byte, and short masks, but it doesn't work with paint masks.


Figure 51. The Quantify Using Mask algorithm

QuantifyUsingMask.jpg

See also:

Replacing pixel/voxel value in images