You are here: Start » FIL.NET » Invoke.CalibrateCamera_Telecentric
Finds the telecentric camera intrinsic parameters from calibration grids.
Namespace: | Fil |
---|---|
Assembly: | FilNet.dll |
Syntax
C++
C#
public static void CalibrateCamera_Telecentric ( List<List<Fil.AnnotatedPoint2D>> inImageGrids, float inGridSpacing, int inImageWidth, int inImageHeight, Fil.LensDistortionModelType inDistortionType, float inImagePointsStandardDeviation, out Fil.TelecentricCameraModel outCameraModel, Optional<Fil.TelecentricCameraModel> outCameraModelStdDev, Optional<float> outRmsError, Optional<List<float>> outMaxReprojectionErrors, Optional<List<List<Fil.Segment2D>>> outReprojectionErrorSegments )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImageGrids | System.Collections.Generic.List<System.Collections.Generic.List<Fil.AnnotatedPoint2D>> | For each view, the annotated calibration grid. | ||
![]() | inGridSpacing | float | <0.000001f, INF> | Real-world distance between adjacent grid points. | |
![]() | inImageWidth | int | <1, INF> | Image width, used for initial estimation of principal point. | |
![]() | inImageHeight | int | <1, INF> | Image height, used for initial estimation of principal point. | |
![]() | inDistortionType | Fil.LensDistortionModelType | PolynomialWithThinPrism | Lens distortion model. Default value: PolynomialWithThinPrism. | |
![]() | inImagePointsStandardDeviation | float | <0.0f, INF> | 0.1f | Assumed uncertainty of inImagePoints. Used for robust optimization and outCameraModelStdDev estimation. Default value: 0.1f. |
![]() | outCameraModel | Fil.TelecentricCameraModel | |||
![]() | outCameraModelStdDev | Ftl.Optional<Fil.TelecentricCameraModel> | Standard deviations of all model parameters, assuming that inImagePoints positions are disturbed with gaussian noise with standard deviation equal to inImagePointsStandardDeviation. | ||
![]() | outRmsError | Ftl.Optional<float> | Final reprojection RMS error, in pixels. | ||
![]() | outMaxReprojectionErrors | Ftl.Optional<System.Collections.Generic.List<float>> | For each view: the maximum reprojection error among all points. | ||
![]() | outReprojectionErrorSegments | Ftl.Optional<System.Collections.Generic.List<System.Collections.Generic.List<Fil.Segment2D>>> | For each view: array of segments connecting input image points to grid reprojections. |