CogBlobResult PropertiesCognex VisionPro

The CogBlobResult type exposes the following members.

Properties

  NameDescription
Public propertyAcircularity
The acircularity of this blob as defined by the formula: perimeter^2 / (4 x Π x Area). This measure is not available when using whole-image connectivity.
Public propertyAcircularityRms
The acircularity of this blob as defined by the normalized RMS deviation of the boundary point radius values from r0, where r0 is the square root of the blob's area divided by Π. This measure is not available when using whole-image connectivity.
Public propertyAngle
The angle of the principal axis of the blob, specified in units of the input image's selected space at run-time.
Public propertyArea
The area of the blob specified in units of the input image's selected space at run-time. The area measure takes into account the blob weight of each pixel. Weighting is accomplished by assigning values between 0 and 255 to each pixel, then normalizing the total of the values of the pixels that make up the blob using the ScalingValue.
Public propertyCenterOfMassX
The x-coordinate of the center of mass of the blob specified in units of the input image's selected space at run-time.
Public propertyCenterOfMassY
The y-coordinate of the center of mass of the blob specified in units of the input image's selected space at run-time.
Public propertyElongation
The ratio of InertiaMax to InertiaMin.
Public propertyFilteredOut
True if this blob was filtered out based on any of filter criteria specified in the RunTimeMeasures. False, otherwise.
Public propertyID
A unique ID used to identify this blob within the context of the CogBlobResults object that contains this result.
Public propertyInertiaMax
The blob's second moment of inertia about the second principal axis of the blob.
Public propertyInertiaMin
The blob's second moment of inertia about the principal axis of the blob.
Public propertyInertiaX
The second moment of inertia of the blob about an axis drawn through the blob's center of mass and parallel to the Y-axis of selected space of the input image.
Public propertyInertiaY
The second moment of inertia of the blob about an axis drawn through the blob's center of mass and parallel to the X-axis of selected space of the input image.
Public propertyLabel
The connectivity label. For grey scale connectivity, the label will be 1 for blobs and 0 for holes. For labeled connectivity, this is the blob's label.
Public propertyNotClipped
This measure will be 1.0 if the blob was not clipped during processing. It will be zero if the blob touches the edge of the region of interest, or the edge of the run-time image, or any Don't Care pixel in the InputImageMask.
Public propertyNumChildren
The number of children of this blob after all filter criteria are applied.
Public propertyNumUnfilteredChildren
The number of children of this blob before any filter criteria are applied.
Public propertyPerimeter
The perimeter of the blob specified in units of the input image's selected space at run-time. Formula corrects for the tendency of the pixel aligned boundary of the blob to overstate the true blob perimeter. Not available for whole-image connectivity.
Public propertySelectedSpaceName
Returns the name of the selected space of the input image at run-time. All relevant blob measures are specified in units of the selected space.
Top
See Also