CogBlobSegmentationParams PropertiesCognex VisionPro

The CogBlobSegmentationParams 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 propertyHardFixedThreshold
If Polarity is light blobs then pixels values that are greater than or equal to this threshold are part of the blob(s); pixel values that are less than this threshold are part of the background. If polarity is dark blobs then the ranges are inverted.
Public propertyHardRelativeThreshold
A fixed threshold is computed by determining the pixel value which lies at the specified percentage of the distance between the low tail pixel value and the high tail pixel value. This computed threshold is then used to perform Hard-Fixed segmentation.
Public propertyHasChanged (Inherited from CogSerializableChangedEventBase.)
Public propertyMode
The method used to segment an input image into pixels that make up the blob(s) and pixels that are part of the background.
Public propertyPolarity
Blob polarity used for image segmentation with either soft or hard thresholding. Indicates either dark blobs on a light background or light blobs on a dark background.
Public propertyScalingValue
Pixel value that represents a blob weight of 1.0, all other pixel values are interpreted on a linear scale relative to ScalingValue.
Public propertySoftFixedThresholdHigh
Pixel values above(>=) the high threshold are background (weight 0) or full-weight blob (weight 1) depending on the Polarity. Values between the low and high thresholds are considered fractional blob (weight between 0 and 1, exclusive). See Softness.
Public propertySoftFixedThresholdLow
Pixel values below the low threshold are background (weight 0) or full-weight blob (weight 1.0) depending on the Polarity. Values between the low and high thresholds are considered fractional blob (weight between 0 and 1, exclusive). See Softness.
Public propertySoftness
The maximum number of fractional weights between background pixels (whose weight is 0.0) and full-weight blob pixels (whose weight is 1.0). The fractional weights are represented in the segmentation image by pixel values between 1 and softness.
Public propertySoftRelativeThresholdHigh
This relative threshold specifies a percentage of the distance between the low and high tail grey scale pixel values. The grey scale pixel value determined by this relative percentage is then used as a soft, fixed threshold.
Public propertySoftRelativeThresholdLow
This relative threshold specifies a percentage of the distance between the low and high tail grey scale pixel values. The grey scale pixel value determined by this relative percentage is then used as a soft, fixed threshold.
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.)
Public propertySubtractionImage
The subtraction image used when the segmentation mode is SubtractionImage. The SubtractionImageOffsetX & SubtractionImageOffsetY specify the pixel alignment of this image with the blob analysis InputImage.
Public propertySubtractionImageOffsetX
X offset value in pixels. The X & Y offset values measure the offset from the upper-left corner of the run-time input image to the upper-left corner of the SubtractionImage in image coordinates of the input image.
Public propertySubtractionImageOffsetY
Y offset value in pixels. The X & Y offset values measure the offset from the upper-left corner of the run-time input image to the upper-left corner of the SubtractionImage in image coordinates of the input image.
Public propertyTailHigh
The percentage of high tail pixels to discard before computing either a hard relative, hard dynamic, or soft relative threshold.
Public propertyTailLow
The percentage of low tail pixels to discard before computing either a hard relative, hard dynamic, or soft relative threshold.
Top
See Also