You are here: Start » FIL.NET » Function Reference » Computer Vision » Camera Calibration » 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, float? inFocalLengthOrMagnificationY, FilNet.Point2D? inPrincipalPoint, FilNet.Size inImageSize, IList<FilNet.AnnotatedPoint2D> outImageGrid, IList<FilNet.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 | FilNet.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 | FilNet.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 | FilNet.CameraModelType | PinholeCameraModel | Calibration camera model (pinhole, telecentric or line scan). Default value: PinholeCameraModel. | |
![]() | inFocalLengthOrMagnificationX | float | 100.0f | Default value: 100.0f. | |
![]() | inFocalLengthOrMagnificationY | float? | |||
![]() | inPrincipalPoint | FilNet.Point2D? | By default is on the center of output image. Default value: ftl::NIL. | ||
![]() | inImageSize | FilNet.Size | (Width: 640, Height: 480) | The size of image that artificial camera captures. Default value: (Width: 640, Height: 480). | |
![]() | outImageGrid | System.Collections.Generic.IList<FilNet.AnnotatedPoint2D> | |||
![]() | outWorldPoints | System.Collections.Generic.IList<FilNet.Point2D> |