CogHandEyeCalibrationResult CreateLensDistortionVectorGraphics Method (Int32, Double)Cognex VisionPro 9.21 SR1
Returns the graphics representing the lens distortion for this camera. The start point of each line segment is the point when lens distortion is begin modeled, while the end point is the point for NoDistortion. The specified scaleFactor is applied to the length of the line segment such that the end point moves

Namespace: Cognex.VisionPro.CalibFix
Assembly: Cognex.VisionPro.CalibFixPlus (in Cognex.VisionPro.CalibFixPlus.dll) Version: 85.1.0.0
Syntax

public CogCompositeShape CreateLensDistortionVectorGraphics(
	int stagePoseIndex,
	double scaleFactor
)

Parameters

stagePoseIndex
Type: System Int32
The stage pose index.
scaleFactor
Type: System Double
The graphic scale factor.

Return Value

Type: CogCompositeShape
Exceptions

ExceptionCondition
ArgumentOutOfRangeException If stagePoseIndex is less than zero or if stagePoseIndex is not less than the number of poses used to produce this result.
ArgumentOutOfRangeException If scaleFactor is not greater than zero.
See Also