CogPatInspectPattern ThresholdOffset Property Cognex VisionPro
The threshold coefficients are used to compute a threshold image from the standard deviation image. Threshold Pixel = [ThresholdScale * Standard Deviation Pixel] + ThresholdOffset.

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

public double ThresholdOffset { get; set; }

Property Value

Type: Double
Events

Event TypeReason
CogPatInspectPattern Changed

Fires when the threshold offset changes.

The following state flag may be affected:

CogPatInspectPattern Changed

Fires when the threshold offset changes and the trained threshold image is updated as well.

The following state flags may be affected:

Remarks

The threshold coefficients are used to compute a threshold image from the standard deviation image. Threshold Pixel = [ThresholdScale * Standard Deviation Pixel] + ThresholdOffset.

The currently trained threshold image is updated when the threshold offset value is changed and the pattern is already trained.

Default Value: 0.0

See Also