You are here: Start » AVL.NET » AVS.CalibrateCamera_Telecentric Method

AVS.CalibrateCamera_Telecentric Method

Finds the telecentric camera intrinsic parameters from calibration grids.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

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

Parameters

Name Type Range Default Description
inImageGridsSystem.Collections.Generic.IList<System.Collections.Generic.IList<AvlNet.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.
inDistortionTypeAvlNet.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.
outCameraModelAvlNet.TelecentricCameraModel
outCameraModelStdDevAvlNet.NullableRef<AvlNet.TelecentricCameraModel>Standard deviations of all model parameters, assuming that inImagePoints positions are disturbed with gaussian noise with standard deviation equal to inImagePointsStandardDeviation. Can be null to skip this parameter calculation.
outRmsErrorAvlNet.NullableValue<float>Final reprojection RMS error, in pixels. Can be null to skip this parameter calculation.
outMaxReprojectionErrorsAvlNet.NullableRef<System.Collections.Generic.List<float>>For each view: the maximum reprojection error among all points. Can be null to skip this parameter calculation.
outReprojectionErrorSegmentsAvlNet.NullableRef<System.Collections.Generic.List<System.Collections.Generic.List<AvlNet.Segment2D>>>For each view: array of segments connecting input image points to grid reprojections. Can be null to skip this parameter calculation.

Function Overrides

See also