LineMaxOperatorBase EdgeAngleTolerance Property Cognex VisionPro 9.22 SR1
Get

Gets the maximum allowable angle between a line and an inlier of the line. Edge points must meet this constraint to become inliers of the line.

Set

Sets the maximum allowable angle between a line and an inlier of the line. Edge points must meet this constraint to become inliers of the line.

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

public abstract double EdgeAngleTolerance { get; set; }

Return Value

Type: Double

The bilateral angle in radians.

Exceptions

ExceptionCondition
ArgumentOutOfRangeExceptionThrown when you assign a value less than zero or greater than PI/2.
Remarks

Changed Fires when this property changes. The following state flag may be affected:

Remarks

In case of better image quality and cleaner edges, a smaller EdgeAngleTolerance helps increase the robustness of line finding. In case of noisier edges, edge points on the desired line may have noisy gradient directions, therefore a larger EdgeAngleTolerance is advised.

See Also