LineMaxEdgePoint GradientMagnitude Property Cognex VisionPro 9.21 SR1

Gets the gradient magnitude of the edge point. This value is considered the contrast measurement of the edge point.

Namespace: Cognex.Vision.LineMax
Assembly: Cognex.Vision.LineMax.Net (in Cognex.Vision.LineMax.Net.dll) Version: 9.21.1.1
Syntax

public double GradientMagnitude { get; }

Return Value

Type: Double

The absolute gradient magnitude.

Remarks

The gradient magnitude is computed using: sqrt(GradientX2 + GradientY2) The Contrast measurement of a line segment is computed using the average GradientMagnitude of all its Inliers.

See Also