Geometric Statistics
The Geometric Statistics module adds a couple of image
statistic variables centered around image geometry. These variables can then be used in
RoboRealm conditional statement, VBScript module
or exported to external programs using RoboRealm Extensions.
Interface
Variables
AREA - the number of non-black (0,0,0) pixels in the current image
ANGLE - the orientation angle of the blob
COG_X, COG_Y - the center of gravity of the blob
PERIMETER - the number of pixels that surround non black blobs
AP_RATIO - AREA / PERIMETER, determines how round an image is; also known as "Perimeter Equivalent Diameter".
EQUIV_DIAMETER - the diameter of a circle with the same area as the region. Calculated as sqrt(4*Area/pi)
COMPACTNESS - (PERIMETER*PERIMETER) / AREA : ratio of the square of the perimeter to the area; also known as "shape".
COMPACTNESS_2 - sqrt(4*AREA/PI) / FERET : alternate compactness measure
CIRCULARITY - 4*PI*AREA/(PERIMETER*PERIMETER), measure of circularity.
CIRCULARITY_2 - alternate measure of circularity.
CIRCULARITY_3 - MIN_RADIUS/MAX_RADIUS : another alternate measure of circularity.
MAX_RADIUS - radius of enclosing circle around center of gravity
MIN_RADIUS - radius of enclosed circle around center of gravity
FERET - Feret's diameter also known as the caliper length or largest axis length: the greatest distance between any two non-zero pixels
FERET_AREA - FERET * BREATH; also know as Feret's bounding box
FERET_ORIENTATION - orientation of the Feret's diameter in degrees
FERET_FIRST_X FERET_FIRST_Y
FERET_SECOND_X FERET_SECOND_Y - points that makeup the Feret diameter
BREATH - the largest axis perpendicular to the Feret diameter
ROUNDNESS - 4*AREA/(Pi*(FERET*FERET)), measure of roundness
MIN_X - minimum bounding box x coordinate
MIN_Y - minimum bounding box y coordinate
MAX_X - maximum bounding box x coordinate
MAX_Y - maximum bounding box y coordinate
EXTENT - proportion of the pixels in the bounding box that are also in the region. Calculated as (blob area / bounding box area).
TOP_LEFT_X
TOP_LEFT_Y
TOP_RIGHT_X
TOP_RIGHT_Y
RIGHT_TOP_X
RIGHT_TOP_Y
RIGHT_BOTTOM_X
RIGHT_BOTTOM_Y
BOTTOM_LEFT_X
BOTTOM_LEFT_Y
BOTTOM_RIGHT_X
BOTTOM_RIGHT_Y
LEFT_TOP_X
LEFT_TOP_Y
LEFT_BOTTOM_X
LEFT_BOTTOM_Y -
the extrema points of the image
FERET_ASPECT_RATIO - FERET/BREATH
BOX_ASPECT_RATIO - (MAX_X-MIN_X)/(MAX_Y-MIN_Y)
Note that you can highlight the appropriate statistics and press CTRL-C to copy the information to
your clipboard. This information can then be pasted into Excel or other statistics programs.
See Also
Center of Gravity
Moments of Inertia
Color Statistics
|