CogBlob PropertiesCognex VisionPro

The CogBlob type exposes the following members.

Properties

  NameDescription
Public propertyChangedEventSuspended
If nonzero, indicates that the raising of the Changed event has been suspended. This value is incremented when SuspendChangedEvent is called and decremented when ResumeAndRaiseChangedEvent is called.
(Inherited from CogSerializableChangedEventBase.)
Public propertyComputeBlobRLE
If false then improve blob processing speed by not saving the run lengths of regions. This will make blob boundaries, blob perimeters, and blob images unavailable.
Public propertyComputeInertia
If false then improve blob processing speed by not computing the inertia, principal inertia, angle, and elongation.
Public propertyComputeTopology
If false then improve blob processing speed by not computing the parent - child relationships between regions.
Public propertyConnectivityCleanup
Determines the cleanup method to use after performing connectivity analysis of the blobs. ConnectivityCleanup is not available when connectivity mode is set to whole image, in which case the cleanup and minimum pixels settings are simply ignored.
Public propertyConnectivityMinPixels
The minimum size, in pixels, of features that will not be cleaned up during connectivity cleanup. ConnectivityCleanup is not available when connectivity mode is set to whole image, in which case the cleanup and minimum pixels settings are simply ignored.
Public propertyConnectivityMode
Determines the connectivity to be used when analyzing blobs.
Public propertyExtremaAngle
The angle (in radians) at which the bounding box or median point is computed when the axis argument of MedianX, MedianY, or GetBoundingBox is ExtremaAngle. The extrema angle is specified in the selected space of the input image.
Public propertyExtremaExcludeArea
The amount of area to exclude when computing either a bounding box or median point, only used when the ExtremaExcludeMode is set to Area. The area is specified in units of the selected space of the InputImage.
Public propertyExtremaExcludeAreaPercent
The amount of area to exclude when computing either a bounding box or median point, only used when the ExtremaExcludeMode is set to AreaPercent. The area is specified in terms of percentage of pixels to exclude.
Public propertyExtremaExcludeAreaPixels
The amount of area to exclude when computing either a bounding box or median point, only used when the ExtremaExcludeMode is set to AreaPixels. The area is specified in image pixel units.
Public propertyExtremaExcludeMode
Indicates if some of the feature's area should be excluded when making the median and bounding box measures. If area should be excluded, the mode also indicates which property specifies the area to be excluded.
Public propertyHasChanged (Inherited from CogSerializableChangedEventBase.)
Public propertyInputImageMask
Mask indicating areas of Care (Non-Zero Mask Pixels) and Don't Care (Zero). Don't Care areas are treated as background/holes when performing grey scale connectivity. The mask is aligned to the InputImage using the InputImageMaskOffsetX & Y values.
Public propertyInputImageMaskOffsetX
X offset value in pixels. The X & Y offset values measure the offset from the upper-left corner of the InputImage to the upper-left corner of the InputImageMask, in image coordinates of the InputImage.
Public propertyInputImageMaskOffsetY
Y offset value in pixels. The X & Y offset values measure the offset from the upper-left corner of the InputImage to the upper-left corner of the InputImageMask, in image coordinates of the InputImage.
Public propertyMorphologyOperations
A collection of CogBlobMorphologyConstants indicating which morphology operations are to be performed on the segmented image. The operations are performed in the order in which they are added to the collection. Operations can be added multiple times.
Public propertyRegionMode
Specifies whether blob analysis will be performed strictly within the confines of the region specified or whether blob analysis will be performed within the image aligned bounding box of the region.
Public propertyRunTimeMeasures
A collection indicating how the specified measures will be used during execution of blob analysis. Blob measures can either be used as filter criteria or precomputed such that the time required to calculate the measure is part of the blob execution time.
Public propertySaveSegmentedImage
Save the segmented image as part of the blob results. Otherwise, the image will be released once blob analysis has completed and the CreateSegmentedImage method will return Nothing when requesting this image.
Public propertySaveSegmentedImageBeforeMasking
Save the segmented image, before masking and morphology, as part of the blob results. Otherwise, the image will be released once blob analysis has completed and the CreateSegmentedImage method will return Nothing when requesting this image.
Public propertySaveSegmentedImageBeforeMorphology
Save the segmented image, after masking but before morphology, as part of the blob results. Otherwise, the image will be released once blob analysis has completed and the CreateSegmentedImage method will return Nothing when requesting this image.
Public propertySegmentationParams
Interface which allows the user to select and configure the desired method of image segmentation.
Public propertySortAscending
A value of True will sort the blobs in ascending order. SortAscending is only used if SortEnabled is true.
Public propertySortEnabled
Enables the sorting of the filtered collection of blobs. The SortMeasure and SortAscending properties indicate how the blobs will be sorted.
Public propertySortMeasure
The blob measure that will be used for sorting the filtered collection of blobs. SortMeasure is only used if SortEnabled is true.
Public propertyStateFlags
Returns the complete set of state flags supported on this object. The flags may be indexed by name as shown in the following C# code snippet: if (changedObject.StateFlags["Color"] & eventArgs.StateFlags) { ... }
(Inherited from CogSerializableChangedEventBase.)
Top
See Also