Gets the method to use when generating candidate lines. If you select Exhaustive mode, a candidate line will be generated for every possible pair of edge points. If you select RANSAC mode, a candidate line will be generated from a smaller number of randomly chosen point pairs.
Sets the method to use when generating candidate lines. If you select Exhaustive mode, a candidate line will be generated for every possible pair of edge points. If you select RANSAC mode, a candidate line will be generated from a smaller number of randomly chosen point pairs.
Assembly: Cognex.Vision.LineMax.Net (in Cognex.Vision.LineMax.Net.dll) Version: 9.21.1.1
Return Value
Type: LineMaxFittingModeConstantsThe point pair sampling method.
| Exception | Condition |
|---|---|
| ArgumentException | The supplied value is not a member of LineMaxFittingModeConstants |
Changed Fires when this property changes. The following state flag may be affected:
Exhaustive mode ensures that every possible line will be considered, but is typically too slow for most applications. Typically you will use RANSAC mode, and make the tradeoff between speed and thoroughness using the Assurance value.