Gets the maximum allowable distance 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 distance between a line and an inlier of the line. Edge points must meet this constraint to become inliers of the line. The distance is measured in the SelectedSpaceName of the input image.
Assembly: Cognex.Vision.LineMax.Net (in Cognex.Vision.LineMax.Net.dll) Version: 9.24.0.0
Return Value
Type: DoubleThe distance measured in the SelectedSpaceName of the input image.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | Thrown when you assign a value less than zero. |
Changed Fires when this property changes. The following state flag may be affected:
The DistanceTolerance should be adjusted to properly include a sufficient number of inliers and exclude interfering edge points from nearby edges. In particular, when adjacent lines are present, this parameter should be set to less than half the distance between the adjacent lines.