Cog3DRobustFitParameters DistanceThreshold Property Cognex VisionPro 9.7
Get or set the distance threshold.

Namespace: Cognex.VisionPro3D
Assembly: Cognex.VisionPro3D (in Cognex.VisionPro3D.dll) Version: 73.0.0.0
Syntax

public double DistanceThreshold { get; set; }

Property Value

Type: Double
The distance threshold. Default is 1.0.
Events

Event TypeReason
ICogChangedEvent Changed

Fires when this property changes.

The following state flag may be affected:

Exceptions

ExceptionCondition
ArgumentOutOfRangeException If the supplied value is less than zero.
Remarks

A point is considered an outlier if its distance in client units to the model is greater than this value.

This parameter is only used if RobustFitTechnique is AdaptiveRANSAC. This parameter is ignored if RobustFitTechnique is AllPoints.

See Also