Cog3DRobustFitParameters WorstCaseProportionOutliers Property Cognex VisionPro 9.22
Get or set the worst case proportion outliers.

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

public double WorstCaseProportionOutliers { get; set; }

Property Value

Type: Double
The worst case proportion outliers. Default is zero.
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, or if the supplied value is greater than or equal to one.
Remarks

The worst case proportion of outliers expected in the points used for model fitting. If, for example, we expect 7 out of every 10 input points to be an outlier, then this parameter should be set to 0.7.

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

This value must be greater than or equal to zero, and it must be less than one.

The value zero is a special value - when WorstCaseProportionOutliers is 0.0, the AllPoints fitting technique is always used.

See Also