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.
Namespace: Cognex.VisionPro.BlobAssembly: Cognex.VisionPro.Blob (in Cognex.VisionPro.Blob.dll) Version: 65.1.0.0
Syntax
Property Value
Type: Int32The default is 128.
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 65535. |
Remarks
If Polarity specifies light blobs, then pixels values that are greater than or equal to this hard 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