CogBlobSegmentationParams HardFixedThreshold Property Cognex VisionPro
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.Blob
Assembly: Cognex.VisionPro.Blob (in Cognex.VisionPro.Blob.dll) Version: 65.1.0.0
Syntax

public int HardFixedThreshold { get; set; }

Property Value

Type: Int32
The default is 128.
Events

Event TypeReason
[Cognex.VisionPro.ICogChangedEvent.Changed]

Fires when the value of this property changes.

The following state flag may be affected:

Exceptions

ExceptionCondition
[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