Back to Aurora Vision Library website

You are here: Start » Function Reference » Computer Vision » Camera Calibration » GenerateCalibrationPoints_Deprecated

GenerateCalibrationPoints_Deprecated


Header: AVL.h
Namespace: avl
Module: Calibration

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

Applications: Calibration testing.

Syntax

void avl::GenerateCalibrationPoints_Deprecated
(
	int inPointsX,
	int inPointsY,
	float inPointSpacing,
	const avl::Vector3D& inPlaneRotationAxis,
	float inPlaneRotationAngle,
	const avl::Vector3D& inPlaneTranslation,
	avl::CameraModelType::Type inCameraType,
	float inFocalLengthOrMagnificationX,
	atl::Optional<float> inFocalLengthOrMagnificationY,
	atl::Optional<avl::Point2D> inPrincipalPoint,
	const avl::Size& inImageSize,
	atl::Array<avl::Point2D>& outImagePoints,
	atl::Array<avl::Point2D>& outWorldPlanePoints
)

Parameters

Name Type Default Description
Input value inPointsX int 10 Number of points in X direction on the calibration plane.
Input value inPointsY int 10 Number of points in Y direction on the calibration plane.
Input value inPointSpacing float 1.0f Distances between consecutive points on the calibration plane.
Input value inPlaneRotationAxis const Vector3D& (DeltaX: 0.0, DeltaY: 0.0, DeltaZ: 1.0) Calibration plane rotation axis.
Input value inPlaneRotationAngle float 0.0f Calibration plane rotation angle.
Input value inPlaneTranslation const Vector3D& (DeltaX: 0.0, DeltaY: 0.0, DeltaZ: 10.0) Calibration plane translation (applied after rotation).
Input value inCameraType CameraModelType::Type PinholeCameraModel Calibration camera model (pinhole or telecentric)
Input value inFocalLengthOrMagnificationX float 100.0f
Input value inFocalLengthOrMagnificationY Optional<float> NIL
Input value inPrincipalPoint Optional<Point2D> NIL By default is on the center of output image
Input value inImageSize const Size& (Width: 640, Height: 480) The size of image that artificial camera captures
Output value outImagePoints Array<Point2D>&
Output value outWorldPlanePoints Array<Point2D>&