![]() |
ImFusion SDK 4.3
|
Utilities for cone-beam calibration computations. More...
Utilities for cone-beam calibration computations.
Classes | |
| struct | CalibrationSettings |
| Settings for calibrateCamera() More... | |
Functions | |
| std::vector< vec2 > | projectAndDistortPoints (const mat3 &K, const mat3 &R, const vec3 &t, const std::vector< vec3 > &X, const std::array< double, 5 > &distCoeffs) |
| Projects the 3D world points to a screen by applying camera parameters and distortion. | |
| double | calibrateCamera (const Image &imgDesc, const std::vector< std::vector< vec3 > > &X, const std::vector< std::vector< vec2 > > &x, std::array< double, 5 > &distCoeffs, mat3 &K, std::vector< mat3 > &R, std::vector< vec3 > &t, const CalibrationSettings &settings) |
| Calibrate camera parameters for an image. | |
| std::vector< vec2 > projectAndDistortPoints | ( | const mat3 & | K, |
| const mat3 & | R, | ||
| const vec3 & | t, | ||
| const std::vector< vec3 > & | X, | ||
| const std::array< double, 5 > & | distCoeffs ) |
Projects the 3D world points to a screen by applying camera parameters and distortion.
| K | Intrinsic camera matrix |
| R | Rotation matrix |
| t | Translation vector |
| X | 3D world points |
| distCoeffs | Distortion coefficients [k1, k2, p1, p2, k3] |
| double calibrateCamera | ( | const Image & | imgDesc, |
| const std::vector< std::vector< vec3 > > & | X, | ||
| const std::vector< std::vector< vec2 > > & | x, | ||
| std::array< double, 5 > & | distCoeffs, | ||
| mat3 & | K, | ||
| std::vector< mat3 > & | R, | ||
| std::vector< vec3 > & | t, | ||
| const CalibrationSettings & | settings ) |
Calibrate camera parameters for an image.
| imgDesc | Image descriptor providing image dimensions |
| X | 3D world points for each view |
| x | 2D image points for each view |
| distCoeffs | Output distortion coefficients |
| K | Output intrinsic camera matrix |
| R | Output rotation matrices for each view |
| t | Output translation vectors for each view |
| settings | Calibration settings |