Back to FabImage Library website
You are here: Start » Function Reference » Computer Vision » Camera Calibration » CalibrateCamera_Telecentric_DeprecatedDeprecated

CalibrateCamera_Telecentric_DeprecatedDeprecated
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | Calibration |
Finds the telecentric camera intrinsic parameters from the input arrays of image and real-world coordinates. Uses telecentric camera model (affine camera).
Applications: Recognition of lens distortion. Usually followed by CreateUndistortionMap_Deprecated.
Syntax
C++
C#
void fil::CalibrateCamera_Telecentric_DeprecatedDeprecated ( const ftl::Array<ftl::Array<fil::Point3D> >& inObjectPoints, const ftl::Array<ftl::Array<fil::Point2D> >& inImagePoints, int inImageWidth, int inImageHeight, bool inUseRationalModel, bool inUseTangentialModel, bool inUseThinPrismModel, fil::Matrix& outCameraMatrix, fil::LensDistortion& outDistortion, ftl::Optional<float&> outError = ftl::NIL )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() |
inObjectPoints | const Array<Array<Point3D> >& | Array, for each view: array of 3D points of the calibration pattern. | ||
![]() |
inImagePoints | const Array<Array<Point2D> >& | Array, for each view: array of corresponding 2D points in the picture. | ||
![]() |
inImageWidth | int | 1 - ![]() |
Image width, only used to initialize camera matrix, not used when inInitialCameraMatrix present. | |
![]() |
inImageHeight | int | 1 - ![]() |
Image height, only used to initialize camera matrix, not used when inInitialCameraMatrix present. | |
![]() |
inUseRationalModel | bool | False | Estimate radial denominator coefficients k4, k5, k6 | |
![]() |
inUseTangentialModel | bool | True | Estimate tangential distortion coefficients p1, p2 | |
![]() |
inUseThinPrismModel | bool | True | Estimate thin prism distortion coefficients s1, s2, s3, s4 | |
![]() |
outCameraMatrix | Matrix& | |||
![]() |
outDistortion | LensDistortion& | |||
![]() |
outError | Optional<float&> | NIL | Final reprojection RMS error |
Optional Outputs
The computation of following outputs can be switched off by passing value ftl::NIL
to these parameters: outError.
Read more about Optional Outputs.
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Empty input array |
DomainError | Input array sizes differ |