You are here: Start » FIL.NET » Invoke.GenerateCalibrationPoints

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
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.
inPlaneRotationAxisFil.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.
inPlaneTranslationFil.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).
inCameraTypeFil.CameraModelTypePinholeCameraModelCalibration camera model (pinhole, telecentric or line scan). Default value: PinholeCameraModel.
inFocalLengthOrMagnificationXfloat100.0fDefault value: 100.0f.
inFocalLengthOrMagnificationYFtl.Optional<float>
inPrincipalPointFtl.Optional<Fil.Point2D>By default is on the center of output image. Default value: ftl::NIL.
inImageSizeFil.Size(Width: 640, Height: 480)The size of image that artificial camera captures. Default value: (Width: 640, Height: 480).
outImageGridSystem.Collections.Generic.List<Fil.AnnotatedPoint2D>
outWorldPointsSystem.Collections.Generic.List<Fil.Point2D>

See also