Operation: measure
Author:
This operation calls the
Analyzer from ImageJ.
Example
Description
The operation measures the features of an image or a selection.
Options

measure area: Measure the area of the selection in square pixels. Areas are in calibrated units, such as square millimeters, if Analyze>Set Scale was used to spatially calibrate the image.
measure bounds: Measure the smallest rectangle enclosing the selectiont. Uses the headings BX, BY, Width and Height, where BX and BY are the coordinates of the upper left corner of the rectangle.
measure center of mass: This is the brightness-weighted average of the x and y
coordinates of all pixels in the selection. Uses the XM and YM headings.
These coordinates are the first order spatial moments.
measure centroids: The center point of the selection.
This is the average of the x and y coordinates of all of the pixels in the image or selection.
Uses the X and Y Results table headings.
measure circularity: 4pi(area/perimeter^2). A value of 1.0 indicates a perfect circle.
As the value approaches 0.0, it indicates an increasingly elongated polygon.
Values may not be valid for very small particles.
Feret's diameter: The longest distance between any two points along the selection
boundary. Also known as the caliper length.
measure fit ellipse: Fit an ellipse to the selection. Uses the headings Major,
Minor and Angle. Major and Minor
are the primary and seconday axis of the best fitting ellipse.
Angle is the angle between the primary axis and a line
parallel to the x-axis of the image. Note that ImageJ cannot
calculate the major and minor axis lengths if
Pixel Aspect Ratio in the Set Scale dialog is not 1.0.
integrated density: The sum of the values of the pixels in the selection.
measure mean: The average gray value within the selection.
measure min & max: Minimum and maximum gray values within the selection.
modal gray value: Most frequently occurring gray value within the selection. Corres
The only parameter is the input image. ponds to the highest peak in the histogram.
measure perimeter: The length of the outside boundary of the selection.
standard deviation: Standard deviation of the gray values used to generate
the mean gray value.
display labels: If checked the title of the image is displayed in the results table.
invert y: Inverts the y-coordinate so that the origin is in the lower left corner and not in the upper left corner anymore.
limit to threshold: If checked, only thresholded pixels are included in measurement calculations.
Use Image>Adjust>Threshold to set the threshold limits.
Parameter
The only parameter is the input image. If there is a selection on the input image, only the selection is measured.
Results
Measurements (ResultsTable): The results table containing the measurements of the image or selection.