You are here: Start » FIL.NET » FIS.CalibrateCamera_Telecentric Method

FIS.CalibrateCamera_Telecentric Method

Finds the telecentric camera intrinsic parameters from calibration grids.

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

public static void CalibrateCamera_Telecentric
(
	IList<IList<FilNet.AnnotatedPoint2D>> inImageGrids,
	float inGridSpacing,
	int inImageWidth,
	int inImageHeight,
	FilNet.LensDistortionModelType inDistortionType,
	float inImagePointsStandardDeviation,
	FilNet.TelecentricCameraModel outCameraModel,
	FilNet.TelecentricCameraModel outCameraModelStdDev,
	out float outRmsError,
	IList<float> outMaxReprojectionErrors,
	IList<List<FilNet.Segment2D>> outReprojectionErrorSegments
)

Parameters

Name Type Range Default Description
inImageGridsSystem.Collections.Generic.IList<System.Collections.Generic.IList<FilNet.AnnotatedPoint2D>>For each view, the annotated calibration grid.
inGridSpacingfloat<0.000001f, INF>Real-world distance between adjacent grid points.
inImageWidthint<1, INF>Image width, used for initial estimation of principal point.
inImageHeightint<1, INF>Image height, used for initial estimation of principal point.
inDistortionTypeFilNet.LensDistortionModelTypePolynomialWithThinPrismLens distortion model. Default value: PolynomialWithThinPrism.
inImagePointsStandardDeviationfloat<0.0f, INF>0.1fAssumed uncertainty of inImagePoints. Used for robust optimization and outCameraModelStdDev estimation. Default value: 0.1f.
outCameraModelFilNet.TelecentricCameraModel
outCameraModelStdDevFilNet.TelecentricCameraModelStandard deviations of all model parameters, assuming that inImagePoints positions are disturbed with gaussian noise with standard deviation equal to inImagePointsStandardDeviation.
outRmsErrorfloatFinal reprojection RMS error, in pixels.
outMaxReprojectionErrorsSystem.Collections.Generic.IList<float>For each view: the maximum reprojection error among all points.
outReprojectionErrorSegmentsSystem.Collections.Generic.IList<System.Collections.Generic.List<FilNet.Segment2D>>For each view: array of segments connecting input image points to grid reprojections.

Function Overrides

See also