MeasurementValue
The morphological measurement that a function uses for filtering.
Elements
Name | Value | Description |
---|---|---|
IMAQ_AREA | 0 | Surface area of the particle in pixels. |
IMAQ_AREA_CALIBRATED | 1 | Surface area of the particle in calibrated units. |
IMAQ_NUM_HOLES | 2 | Number of holes in the particle. |
IMAQ_AREA_OF_HOLES | 3 | Surface area of the holes in calibrated units. |
IMAQ_TOTAL_AREA | 4 | Total surface area (holes and particle) in calibrated units. |
IMAQ_IMAGE_AREA | 5 | Surface area of the entire image in calibrated units. |
IMAQ_PARTICLE_TO_IMAGE | 6 | Ratio, expressed as a percentage, of the surface area of a particle in relation to the total area of the particle. |
IMAQ_PARTICLE_TO_TOTAL | 7 | Ratio, expressed as a percentage, of the surface area of a particle in relation to the total area of the particle. |
IMAQ_CENTER_MASS_X | 8 | X-coordinate of the center of mass. |
IMAQ_CENTER_MASS_Y | 9 | Y-coordinate of the center of mass. |
IMAQ_LEFT_COLUMN | 10 | Left edge of the bounding rectangle. |
IMAQ_TOP_ROW | 11 | Top edge of the bounding rectangle. |
IMAQ_RIGHT_COLUMN | 12 | Right edge of the bounding rectangle. |
IMAQ_BOTTOM_ROW | 13 | Bottom edge of bounding rectangle. |
IMAQ_WIDTH | 14 | Width of bounding rectangle in calibrated units. |
IMAQ_HEIGHT | 15 | Height of bounding rectangle in calibrated units. |
IMAQ_MAX_SEGMENT_LENGTH | 16 | Length of longest horizontal line segment. |
IMAQ_MAX_SEGMENT_LEFT_COLUMN | 17 | Leftmost x-coordinate of longest horizontal line segment. |
IMAQ_MAX_SEGMENT_TOP_ROW | 18 | Y-coordinate of longest horizontal line segment. |
IMAQ_PERIMETER | 19 | Outer perimeter of the particle. |
IMAQ_PERIMETER_OF_HOLES | 20 | Perimeter of all holes within the particle. |
IMAQ_SIGMA_X | 21 | Sum of the particle pixels on the x-axis. |
IMAQ_SIGMA_Y | 22 | Sum of the particle pixels on the y-axis. |
IMAQ_SIGMA_XX | 23 | Sum of the particle pixels on the x-axis squared. |
IMAQ_SIGMA_YY | 24 | Sum of the particle pixels on the y-axis squared. |
IMAQ_SIGMA_XY | 25 | Sum of the particle pixels on the x-axis and y-axis. |
IMAQ_PROJ_X | 26 | Projection corrected in X. |
IMAQ_PROJ_Y | 27 | Projection corrected in Y. |
IMAQ_INERTIA_XX | 28 | Inertia matrix coefficient in XX. |
IMAQ_INERTIA_YY | 29 | Inertia matrix coefficient in YY. |
IMAQ_INERTIA_XY | 30 | Inertia matrix coefficient in XY. |
IMAQ_MEAN_H | 31 | Mean length of horizontal segments. |
IMAQ_MEAN_V | 32 | Mean length of vertical segments. |
IMAQ_MAX_INTERCEPT | 33 | Length of longest segment of the convex hull. |
IMAQ_MEAN_INTERCEPT | 34 | Mean length of the chords in an object perpendicular to its max intercept. |
IMAQ_ORIENTATION | 35 | The orientation based on the inertia of the pixels in the particle. For more information, see Chapter 10, Particle Measurements, of the NI Vision Concepts Manual. |
IMAQ_EQUIV_ELLIPSE_MINOR | 36 | Total length of the axis of the ellipse having the same area as the particle and a major axis equal to half the max intercept. |
IMAQ_ELLIPSE_MAJOR | 37 | Total length of major axis having the same area and perimeter as the particle in calibrated units. |
IMAQ_ELLIPSE_MINOR | 38 | Total length of minor axis having the same area and perimeter as the particle in calibrated units. |
IMAQ_ELLIPSE_RATIO | 39 | Fraction of major axis to minor axis. |
IMAQ_RECT_LONG_SIDE | 40 | Length of the long side of a rectangle having the same area and perimeter as the particle in calibrated units. |
IMAQ_RECT_SHORT_SIDE | 41 | Length of the short side of a rectangle having the same area and perimeter as the particle in calibrated units. |
IMAQ_RECT_RATIO | 42 | Ratio of rectangle long side to rectangle short side. |
IMAQ_ELONGATION | 43 | Max intercept/mean perpendicular intercept. |
IMAQ_COMPACTNESS | 44 | Particle area/(height × width). |
IMAQ_HEYWOOD | 45 | Particle perimeter/perimeter of the circle having the same area as the particle. |
IMAQ_TYPE_FACTOR | 46 | A complex factor relating the surface area to the moment of inertia. |
IMAQ_HYDRAULIC | 47 | Particle area/particle perimeter. |
IMAQ_WADDLE_DISK | 48 | Diameter of the disk having the same area as the particle in user units. |
IMAQ_DIAGONAL | 49 | Diagonal of an equivalent rectangle in user units. |
IMAQ_MEASUREMENT_VALUE_SIZE_GUARD | 0xFFFFFFFF | Reserved |