Enumeration of blob segmentation modes which indicate how
the input image will be segmented into blob and background pixels.
Namespace: Cognex.VisionPro.BlobAssembly: Cognex.VisionPro.Blob (in Cognex.VisionPro.Blob.dll) Version: 65.1.0.0
Syntax
Members
| Member name | Value | Description | |
|---|---|---|---|
| None | 0 | No image segmentation is performed. Use this mode if the input image is already segmented. Pixels with a value equal to ScalingValue receive a blob weight of one. All other pixel values are interpreted on a linear scale relative to ScalingValue. | |
| Map | 1 | Segment the input image using a pixel map. Each pixel in the input image is replaced by the value within the pixel map at the index equal to the input image pixel value. ScalingValue is used to assign blob weights based on the mapped pixel values. | |
| HardFixedThreshold | 2 | Segment the input image using a single threshold value specified in image grey scale units. This hard threshold determines if an image pixel is entirely part of a blob or constitutes a background pixel. | |
| HardRelativeThreshold | 3 | Segment the input image using a single threshold value that is determined at run-time based on a specified percentage ( HardRelativeThreshold) of the distance between the low tail pixel value and the high tail pixel value of the input image's histogram. | |
| HardDynamicThreshold | 4 | Segments the input image using a hard threshold value that is determined at run-time based on an analysis of the input image's histogram. | |
| SoftFixedThreshold | 5 | Segment the input image using a pair of threshold values specified in image grey scale units. Pixels values outside of the thresholds are either entirely part of a blob or the background. Values between the thresholds are part blob and part background. | |
| SoftRelativeThreshold | 6 | Segment the input image using a pair of soft threshold values that are determined at run-time based on specified percentage of the distances between the low tail pixel value and the high tail pixel value of the input image's histogram. | |
| SubtractionImage | 7 | Segment the input image by performing a pixel map (PostMap) on the image that results from subtracting each pixel in SubtractionImage from the corresponding pixel in the input image (after PreMap applied) with the result clamped to zero. |
See Also