CogPatInspectPattern SobelOffset Property Cognex VisionPro 9.7
The Sobel coefficients are used to compute a pseudo standard deviation image when the pattern has been trained from a single image. Standard Deviation Pixel = [SobelScale * Sobel Magnitude Pixel Value] + SobelOffset.

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

public double SobelOffset { get; set; }

Property Value

Type: Double
Events

Event TypeReason
CogPatInspectPattern Changed

Fires when the Sobel offset changes.

The following state flag may be affected:

CogPatInspectPattern Changed

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

The following state flags may be affected:

Remarks

The Sobel coefficients are used to compute a pseudo standard deviation image when the pattern has been trained from a single image. Standard Deviation Pixel = [SobelScale * Sobel Magnitude Pixel Value] + SobelOffset.

The currently trained threshold image is updated when the Sobel offset value is changed and the pattern has been trained from a single image.

Default Value: 0.0

See Also