You are here: Start » FIL.NET » Invoke.GenerateCalibrationPoints
Generates artificial points for camera calibration. Doesn't support distortion.
Namespace: | Fil |
---|---|
Assembly: | FilNet.dll |
Syntax
C++
C#
public static void GenerateCalibrationPoints ( int inPointsX, int inPointsY, float inWorldPointSpacing, Fil.Vector3D inPlaneRotationAxis, float inPlaneRotationAngle, Fil.Vector3D inPlaneTranslation, Fil.CameraModelType inCameraType, float inFocalLengthOrMagnificationX, Optional<float> inFocalLengthOrMagnificationY, Optional<Fil.Point2D> inPrincipalPoint, Fil.Size inImageSize, List<Fil.AnnotatedPoint2D> outImageGrid, List<Fil.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 | Fil.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 | Fil.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 | Fil.CameraModelType | PinholeCameraModel | Calibration camera model (pinhole, telecentric or line scan). Default value: PinholeCameraModel. | |
![]() | inFocalLengthOrMagnificationX | float | 100.0f | Default value: 100.0f. | |
![]() | inFocalLengthOrMagnificationY | Ftl.Optional<float> | |||
![]() | inPrincipalPoint | Ftl.Optional<Fil.Point2D> | By default is on the center of output image. Default value: ftl::NIL. | ||
![]() | inImageSize | Fil.Size | (Width: 640, Height: 480) | The size of image that artificial camera captures. Default value: (Width: 640, Height: 480). | |
![]() | outImageGrid | System.Collections.Generic.List<Fil.AnnotatedPoint2D> | |||
![]() | outWorldPoints | System.Collections.Generic.List<Fil.Point2D> |