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.
Namespace: Cognex.VisionPro.BlobAssembly: Cognex.VisionPro.Blob (in Cognex.VisionPro.Blob.dll) Version: 69.0.0.0
Syntax
Property Value
Type: Int32The default is 50.
Events
| Event Type | Reason |
|---|---|
| [Cognex.VisionPro.ICogChangedEvent.Changed] | Fires when the value of this property changes. The following state flag may be affected: |
Exceptions
| Exception | Condition |
|---|---|
| [System.ArgumentException] | The supplied value is less than 0 or greater than 100. |
Remarks
A hard 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.
If Polarity specifies light blobs, then pixels values that are greater than or equal to this computed threshold are part of the blob(s); pixel values that are less than this threshold are part of the background. If Polarity specifies dark blobs, then the ranges are inverted.
See Also