You are here: Start » FIL.NET » Function Reference » Computer Vision » Camera Calibration » FIL.GenerateCalibrationPoints

FIL.GenerateCalibrationPoints

Generates artificial points for camera calibration. Doesn't support distortion.

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

C++
C#
 
public static void GenerateCalibrationPoints
(
	int inPointsX,
	int inPointsY,
	float inWorldPointSpacing,
	FilNet.Vector3D inPlaneRotationAxis,
	float inPlaneRotationAngle,
	FilNet.Vector3D inPlaneTranslation,
	FilNet.CameraModelType inCameraType,
	float inFocalLengthOrMagnificationX,
	FilNet.Size inImageSize,
	IList<FilNet.AnnotatedPoint2D> outImageGrid,
	IList<FilNet.Point2D> outWorldPoints
)

Parameters

Name Type Range Default Description
inPointsXint10Number of points in X direction on the calibration plane. Default value: 10.
inPointsYint10Number of points in Y direction on the calibration plane. Default value: 10.
inWorldPointSpacingfloat1.0fDistances between consecutive points on the calibration plane. Default value: 1.0f.
inPlaneRotationAxisFilNet.Vector3D(DeltaX: 0.0, DeltaY: 0.0, DeltaZ: 1.0)Calibration plane rotation axis. Default value: (DeltaX: 0.0, DeltaY: 0.0, DeltaZ: 1.0).
inPlaneRotationAnglefloat0.0fCalibration plane rotation angle. Default value: 0.0f.
inPlaneTranslationFilNet.Vector3D(DeltaX: 0.0, DeltaY: 0.0, DeltaZ: 10.0)Calibration plane translation (applied after rotation). Default value: (DeltaX: 0.0, DeltaY: 0.0, DeltaZ: 10.0).
inCameraTypeFilNet.CameraModelTypePinholeCameraModelCalibration camera model (pinhole, telecentric or line scan). Default value: PinholeCameraModel.
inFocalLengthOrMagnificationXfloat100.0fDefault value: 100.0f.
inImageSizeFilNet.Size(Width: 640, Height: 480)The size of image that artificial camera captures. Default value: (Width: 640, Height: 480).
outImageGridSystem.Collections.Generic.IList<FilNet.AnnotatedPoint2D>
outWorldPointsSystem.Collections.Generic.IList<FilNet.Point2D>

Function Overrides

See also