CogHandEyeCalibrationRemoteCameraResult CreateLensDistortionVectorGraphics Method (Double, CogLineSegment)Cognex VisionPro
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. The graphics characteristics of the supplied line segment are duplicated in all of the computed line segments.

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

public CogCompositeShape CreateLensDistortionVectorGraphics(
	double scaleFactor,
	CogLineSegment exampleLineSeg
)

Parameters

scaleFactor
Type: System Double
The graphic scale factor.
exampleLineSeg
Type: Cognex.VisionPro CogLineSegment
Specify the desired graphics characteristics by providing this example.

Return Value

Type: CogCompositeShape
Exceptions

ExceptionCondition
ArgumentOutOfRangeException If scaleFactor is not greater than zero.
ArgumentNullException If exampleLineSeg argument is null.
See Also