CalibrateCamera_Telecentric
Finds the telecentric camera intrinsic parameters from calibration grids.
Applications:Computes camera parameters which need to be calculated only once for each camera, and are a prerequisite for other calibration filters.
Syntax
C++
C#
Python
def CalibrateCamera_Telecentric( inImageGrids: list[ list[AnnotatedPoint2D] ], inGridSpacing: float, inImageWidth: int, inImageHeight: int, outCameraModel: TelecentricCameraModel, /, *, inDistortionType: LensDistortionModelType = LensDistortionModelType.PolynomialWithThinPrism, inImagePointsStandardDeviation: float = 0.1, outCameraModelStdDev: TelecentricCameraModel | None = None ) -> ( outRmsError: float, outMaxReprojectionErrors: list[float], outReprojectionErrorSegments: list[ list[Segment2D] ] )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
inImageGrids | list[ list[AnnotatedPoint2D] ] | For each view, the annotated calibration grid | ||
![]() |
inGridSpacing | float | 0.000001 - ![]() |
Real-world distance between adjacent grid points. | |
![]() |
inImageWidth | int | 1 - ![]() |
Image width, used for initial estimation of principal point. | |
![]() |
inImageHeight | int | 1 - ![]() |
Image height, used for initial estimation of principal point. | |
![]() |
inDistortionType | LensDistortionModelType | LensDistortionModelType.PolynomialWithThinPrism | Lens distortion model | |
![]() |
inImagePointsStandardDeviation | float | 0.0 - ![]() |
0.1 | Assumed uncertainty of inImagePoints. Used for robust optimization and outCameraModelStdDev estimation. |
![]() |
outCameraModel | TelecentricCameraModel | |||
![]() |
outCameraModelStdDev | TelecentricCameraModel | None | None | Standard deviations of all model parameters, assuming that inImagePoints positions are disturbed with gaussian noise with standard deviation equal to inImagePointsStandardDeviation. | |
![]() |
outRmsError | float | Final reprojection RMS error, in pixels. | ||
![]() |
outMaxReprojectionErrors | list[float] | For each view: the maximum reprojection error among all points. | ||
![]() |
outReprojectionErrorSegments | list[ list[Segment2D] ] | For each view: array of segments connecting input image points to grid reprojections. |



