![]() |
IDS peak ICV v1.1.0
|
#include <peak_icv/algorithms/calibration/peak_icv_calibration_result.hpp>

Public Member Functions | |
| CalibrationResult (const std::string &filePath) | |
| Constructs a CalibrationResult instance by loading data from a JSON file. | |
| ~CalibrationResult () override | |
| CalibrationResult (const CalibrationResult &other) | |
| CalibrationResult (CalibrationResult &&other) noexcept | |
| CalibrationResult & | operator= (const CalibrationResult &other) |
| CalibrationResult & | operator= (CalibrationResult &&other) noexcept |
| double | GetMeanReprojectionError () const |
| Retrieves the mean reprojection error from the calibration result. | |
| std::vector< CalibrationView > | GetViews () const |
Returns a vector of CalibrationView objects. | |
| CalibrationParameters | GetCalibrationParameters () const |
| Extracts the calibration parameters from a calibration result. | |
| operator CalibrationParameters () const | |
| Implicitly converts a CalibrationResult into calibration parameters. | |
Holds the results of a camera calibration.
The CalibrationResult class stores the intrinsic and extrinsic parameters, the mean reprojection error, and a collection of calibration views, each representing marker positions and corresponding reprojection errors in the image.
These results are typically produced by the CameraCalibration::Process() method.
Definition at line 44 of file peak_icv_calibration_result.hpp.
|
inlineexplicit |
Constructs a CalibrationResult instance by loading data from a JSON file.
This constructor initializes the calibration result by parsing the given file, which contains intrinsic parameters, the mean reprojection error, and the calibration views.
| [in] | filePath | An existing file path to a calibration result JSON file. |
| IOException | If the given filePath does not exist, or the permissions are not sufficient to read it. |
| CorruptedException | If the file cannot be read. |
Definition at line 245 of file peak_icv_calibration_result.hpp.
|
inlineoverride |
Definition at line 237 of file peak_icv_calibration_result.hpp.
|
inline |
Definition at line 185 of file peak_icv_calibration_result.hpp.
|
inlinenoexcept |
Definition at line 193 of file peak_icv_calibration_result.hpp.
|
inline |
Extracts the calibration parameters from a calibration result.
This function extracts the calibration parameters required for image operations such as point cloud generation, image undistortion, and other calibration-dependent tasks. The extracted parameters include intrinsic parameters and, depending on the number of calibration views, extrinsic parameters.
To use extrinsic parameters from a specific calibration view rather than the identity matrix, retrieve the desired view using CalibrationResult::GetViews() and incorporate its parameters accordingly.
Definition at line 295 of file peak_icv_calibration_result.hpp.
|
inline |
Retrieves the mean reprojection error from the calibration result.
The mean reprojection error is the root mean square of distances between the marker points detected from the calibration images and the projected world points, measured in pixels.
Definition at line 252 of file peak_icv_calibration_result.hpp.
|
inline |
Returns a vector of CalibrationView objects.
The order of the returned CalibrationViews corresponds exactly to the order of images passed to CameraCalibration::Process().
Definition at line 263 of file peak_icv_calibration_result.hpp.
|
inline |
Implicitly converts a CalibrationResult into calibration parameters.
This operator calls CalibrationResult::GetCalibrationParameters() to extract the calibration parameters.
Definition at line 307 of file peak_icv_calibration_result.hpp.
|
inlinenoexcept |
Definition at line 219 of file peak_icv_calibration_result.hpp.
|
inline |
Definition at line 199 of file peak_icv_calibration_result.hpp.