Class for a single blob result. Provides information for
an individual feature found during blob analysis. Features include both
blobs and holes within blobs.
Inheritance Hierarchy
System MarshalByRefObject
Cognex.VisionPro.Implementation CogObjectBase
Cognex.VisionPro.Implementation CogSerializableObjectBase
Cognex.VisionPro.Blob CogBlobResult
Namespace: Cognex.VisionPro.Blob
Assembly: Cognex.VisionPro.Blob (in Cognex.VisionPro.Blob.dll) Version: 65.1.0.0
Syntax
The CogBlobResult type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| CogBlobResult |
For Cognex internal use only.
| |
| CogBlobResult(CogBlobResult) |
Constructs a new instance of this class as a deep copy
of the given instance.
| |
| CogBlobResult(SerializationInfo, StreamingContext) |
Serialization constructor for CogBlobResult object.
|
Methods
| Name | Description | |
|---|---|---|
| Clone |
Returns a deep copy of this class instance. Derived classes
that implement Clone should override this method. Other
clients who wish to clone this instance should call
ICloneable.Clone.
| |
| CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) | |
| CreateResultGraphics |
Creates a composite result graphic containing child
graphics specified by the GraphicOptions which is a bitwise
combination of CogBlobResultGraphicConstants.
| |
| Dispose |
Destruct this CogBlobResult.
| |
| Dispose(Boolean) | ||
| Equals | (Inherited from Object.) | |
| Finalize |
Finalize this CogBlobResult.
(Overrides Object Finalize .) | |
| GetAttributes |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetBoundary |
Creates a closed polygon representing the boundary of
the blob which completely encloses all pixels that are part of this
blob, regardless of the blob weight associated with each pixel. The
boundary always falls directly between the edges of pixels.
| |
| GetBoundingBox |
Gets a bounding box of the blob that is aligned with the
specified axis. The exclude extrema properties of the run parameters
are used when calculating the bounding box, except when Axis is set to
CogBlobAxisConstants::PixelAlignedNoExclude.
| |
| GetBoundingBoxAtAngle |
Gets a bounding box of the blob that is aligned with the
specified angle. The exclude extrema properties of the
run parameters are used when calculating the bounding box.
| |
| GetClassName |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetComponentName |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetConverter |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetDefaultEvent |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetDefaultProperty |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetEditor |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetEvents |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetEvents( Attribute ) |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
| GetMeasure |
Returns the value of the blob
CogBlobMeasureConstants
requested.
| |
| GetMedianX |
The x-coordinate of the point through which two
orthogonal lines each divide the blob's area in half. The orthogonal
lines are aligned with the Axis specified. MedianX is specified in
units of the input image's selected space.
| |
| GetMedianY |
The y-coordinate of the point through which two
orthogonal lines each divide the blob's area in half. The orthogonal
lines are aligned with the Axis specified. MedianY is specified in
units of the input image's selected space.
| |
| GetObjectData |
Implements the GetObjectData method of the ISerializable interface.
(Inherited from CogSerializableObjectBase.) | |
| GetProperties |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetProperties( Attribute ) |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetPropertyOwner |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.) | |
| ToString | (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| Acircularity |
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.
| |
| AcircularityRms |
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.
| |
| Angle |
The angle of the principal axis of the blob, specified in units
of the input image's selected space at run-time.
| |
| Area |
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.
| |
| CenterOfMassX |
The x-coordinate of the center of mass of the blob
specified in units of the input image's selected space at run-time.
| |
| CenterOfMassY |
The y-coordinate of the center of mass of the blob
specified in units of the input image's selected space at run-time.
| |
| Elongation |
The ratio of
InertiaMax
to
InertiaMin.
| |
| FilteredOut |
True if this blob was filtered out based on any of filter criteria
specified in the
RunTimeMeasures.
False, otherwise.
| |
| ID |
A unique ID used to identify this blob within the
context of the
CogBlobResults
object that contains this result.
| |
| InertiaMax |
The blob's
second moment of inertia about the second principal axis
of the blob.
| |
| InertiaMin |
The blob's
second moment of inertia about the principal axis of the blob.
| |
| InertiaX |
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.
| |
| InertiaY |
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.
| |
| Label |
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.
| |
| NotClipped |
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.
| |
| NumChildren |
The number of children of this blob after all filter
criteria are applied.
| |
| NumUnfilteredChildren |
The number of children of this blob before any filter
criteria are applied.
| |
| Perimeter |
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.
| |
| SelectedSpaceName |
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.
|
See Also