CogLineMax EdgeAngleTolerance Property Cognex VisionPro 9.8
Gets or 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.VisionPro.LineMax
Assembly: Cognex.VisionPro.LineMax (in Cognex.VisionPro.LineMax.dll) Version: 75.1.0.0
Syntax

public double EdgeAngleTolerance { get; set; }

Property Value

Type: Double
The bilateral angle in radians.
Events

Event TypeReason
ICogChangedEvent Changed

Fires when this property changes.

The following state flag may be affected:

Exceptions

ExceptionCondition
ArgumentOutOfRangeException Thrown when you assign a value less than zero or greater than PI/2.
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