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.
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.
Assembly: Cognex.Vision.LineMax.Net (in Cognex.Vision.LineMax.Net.dll) Version: 9.21.1.1
Return Value
Type: DoubleThe bilateral angle in radians.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | Thrown when you assign a value less than zero or greater than PI/2. |
Changed Fires when this property changes. The following state flag may be affected:
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.