CogBlobSegmentationParams SoftFixedThresholdLow Property Cognex VisionPro
Pixel values below the low threshold are background (weight 0) or full-weight blob (weight 1.0) depending on the Polarity. Values between the low and high thresholds are considered fractional blob (weight between 0 and 1, exclusive). See Softness.

Namespace: Cognex.VisionPro.Blob
Assembly: Cognex.VisionPro.Blob (in Cognex.VisionPro.Blob.dll) Version: 65.1.0.0
Syntax

public int SoftFixedThresholdLow { get; set; }

Property Value

Type: Int32
Events

Event TypeReason
[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:

Exceptions

ExceptionCondition
[System.ArgumentException] The supplied value is less than 0 or greater than 65534.
Remarks

The low threshold for soft fixed segmentation. Pixel values that are less than the low threshold are assigned a blob weight of 0 when Polarity indicates light blobs. Pixel values that are less than the low threshold are assigned a blob weight of 1 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.

See Also