You are here: Start » AVL.NET » Invoke.GenerateCalibrationPoints
Generates artificial points for camera calibration. Doesn't support distortion.
| Namespace: | Avl | 
|---|---|
| Assembly: | AvlNet.dll | 
Syntax
C++
C#
public static void GenerateCalibrationPoints ( int inPointsX, int inPointsY, float inWorldPointSpacing, Avl.Vector3D inPlaneRotationAxis, float inPlaneRotationAngle, Avl.Vector3D inPlaneTranslation, Avl.CameraModelType inCameraType, float inFocalLengthOrMagnificationX, Optional<float> inFocalLengthOrMagnificationY, Optional<Avl.Point2D> inPrincipalPoint, Avl.Size inImageSize, List<Avl.AnnotatedPoint2D> outImageGrid, List<Avl.Point2D> outWorldPoints )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]()  | inPointsX | int | 10 | Number of points in X direction on the calibration plane. Default value: 10. | |
![]()  | inPointsY | int | 10 | Number of points in Y direction on the calibration plane. Default value: 10. | |
![]()  | inWorldPointSpacing | float | 1.0f | Distances between consecutive points on the calibration plane. Default value: 1.0f. | |
![]()  | inPlaneRotationAxis | Avl.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). | |
![]()  | inPlaneRotationAngle | float | 0.0f | Calibration plane rotation angle. Default value: 0.0f. | |
![]()  | inPlaneTranslation | Avl.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). | |
![]()  | inCameraType | Avl.CameraModelType | PinholeCameraModel | Calibration camera model (pinhole, telecentric or line scan). Default value: PinholeCameraModel. | |
![]()  | inFocalLengthOrMagnificationX | float | 100.0f | Default value: 100.0f. | |
![]()  | inFocalLengthOrMagnificationY | Atl.Optional<float> | |||
![]()  | inPrincipalPoint | Atl.Optional<Avl.Point2D> | By default is on the center of output image. Default value: atl::NIL. | ||
![]()  | inImageSize | Avl.Size | (Width: 640, Height: 480) | The size of image that artificial camera captures. Default value: (Width: 640, Height: 480). | |
![]()  | outImageGrid | System.Collections.Generic.List<Avl.AnnotatedPoint2D> | |||
![]()  | outWorldPoints | System.Collections.Generic.List<Avl.Point2D> | 


