Assembly: Cognex.VisionPro.Blob (in Cognex.VisionPro.Blob.dll) Version: 65.1.0.0
Property Value
Type: Int32| Event Type | Reason |
|---|---|
| [Cognex.VisionPro.ICogChangedEvent.Changed] | Fires when the value of this property changes. The following state flag may be affected: |
| [Cognex.VisionPro.ICogChangedEvent.Changed] | Fires when the both the low and high thresholds are changed. The following state flags may be affected: |
| Exception | Condition |
|---|---|
| [System.ArgumentException] | The supplied value is less than 1 or greater than 65535. |
When Polarity indicates light blobs, pixel values that are greater than the high threshold are assigned a blob weight equal to 1. The range of pixel values between the low and high threshold is divided into Softness equally sized ranges. Pixels with values in each of these ranges are assigned values between 1 and Softness. A segmentation value of Softness+1 corresponds to a blob weight of one while all other segmentation values are interpreted on a linear scale relative to Softness+1.
Pixel values that are greater than the high threshold are assigned a blob weight of 0 when Polarity indicates dark blobs.
The low threshold must be less than the high threshold. If a value is supplied such that this requirement is not met, the other threshold is adjusted.