You are here: Start » AVL.NET » AVS.GenerateCalibrationPoints Method

AVS.GenerateCalibrationPoints Method

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void GenerateCalibrationPoints
(
	int inPointsX,
	int inPointsY,
	float inWorldPointSpacing,
	AvlNet.Vector3D inPlaneRotationAxis,
	float inPlaneRotationAngle,
	AvlNet.Vector3D inPlaneTranslation,
	AvlNet.CameraModelType inCameraType,
	float inFocalLengthOrMagnificationX,
	AvlNet.Size inImageSize,
	IList<AvlNet.AnnotatedPoint2D> outImageGrid,
	IList<AvlNet.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.
inPlaneRotationAxisAvlNet.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.
inPlaneTranslationAvlNet.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).
inCameraTypeAvlNet.CameraModelTypePinholeCameraModelCalibration camera model (pinhole, telecentric or line scan). Default value: PinholeCameraModel.
inFocalLengthOrMagnificationXfloat100.0fDefault value: 100.0f.
inImageSizeAvlNet.Size(Width: 640, Height: 480)The size of image that artificial camera captures. Default value: (Width: 640, Height: 480).
outImageGridSystem.Collections.Generic.IList<AvlNet.AnnotatedPoint2D>
outWorldPointsSystem.Collections.Generic.IList<AvlNet.Point2D>

Function Overrides

See also