Measure Image Area Occupied measures the total area in an image that is occupied by objects.
This module reports the sum of the areas and perimeters of the objects defined by one of the
Identify modules, or the area of the foreground in a binary image. If the input image has a mask (for example, created by the
MaskImage module), the measurements made by this module will take the mask into account by ignoring the pixels outside the mask.
You can use this module to measure the number of pixels above a given threshold if you precede it with thresholding performed by ApplyThreshold, and then select the binary image output by ApplyThreshold to be measured by this module.
Available measurements
- AreaOccupied: The total area occupied by the input objects or binary image.
- Perimeter: The total length of the perimeter of the input objects/binary image.
- TotalImageArea: The total pixel area of the image.
See also IdentifyPrimaryObjects, IdentifySecondaryObjects, IdentifyTertiaryObjects
Settings:
Measure the area occupied in a binary image, or in objects?
The area can be measured in two ways:
- Binary Image: The area occupied by the foreground in a binary (black
and white) image.
- Objects: The area occupied by previously-identified objects.
Select objects to measure
(Used only if 'Objects' are to be measured)
Select the previously identified objects you would like to measure.
Retain a binary image of the object regions?
(Used only if 'Objects' are to be measured)
Select Yes if you would like to use a binary image
later in the pipeline, for example in SaveImages. The image will
display the object area that you have measured as the foreground
in white and the background in black.
Name the output binary image
(Used only if the binary image of the objects is to be retained for later use in the pipeline)
Specify a name that will allow the binary image of the objects to be selected later in the pipeline.
Select a binary image to measure
(Used only if 'Binary Image' is to be measured)
This is a binary image created earlier in the pipeline,
where you would like to measure the area occupied by the foreground
in the image.