Back to FabImage Library website
You are here: Start » Function Reference » Camera Calibration » CalibrateCameraFromImages_Chessboard_Deprecated

CalibrateCameraFromImages_Chessboard_Deprecated
Header: | FIL.h |
---|---|
Namespace: | fil |
Returns a spatial map with undistortion map.
Syntax
C++
void fil::CalibrateCameraFromImages_Chessboard_Deprecated ( const ftl::Array<fil::Image>& inImages, int inColumnCount, int inRowsCount, int inMapWidth, int inMapHeight, bool inUseRationalModel, float inGridScale, bool inDisableTangentialDistortion, fil::SpatialMap& outSpatialMap, ftl::Conditional<float>& outError )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inImages | const Array<Image>& | Images with calibration boards | |
![]() |
inColumnCount | int | Chessboards columns count | |
![]() |
inRowsCount | int | Chessboards rows count | |
![]() |
inMapWidth | int | Output map width | |
![]() |
inMapHeight | int | Output map height | |
![]() |
inUseRationalModel | bool | Rational model | |
![]() |
inGridScale | float | Size of each cell | |
![]() |
inDisableTangentialDistortion | bool | Disable lens tilt distortion | |
![]() |
outSpatialMap | SpatialMap& | Output spatial map | |
![]() |
outError | Conditional<float>& | Calibration approximation error |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Empty array inImages in CalibrateCameraFromImages_Chessboard. |
DomainError | inGridScale cannot be 0 in CalibrateCameraFromImages_Chessboard. |