#include <peak_icv/algorithms/calibration/peak_icv_camera_calibration.hpp>
Public Member Functions | |
| CameraCalibration (CalibrationPlate calibrationPlate) | |
| Constructs a CameraCalibration with the given calibration plate. | |
| CalibrationResult | Process (const std::vector< Image > &images) const |
| Calculates intrinsic and extrinsic parameters. | |
Camera calibration representation holding the logic to compute intrinsic and extrinsic parameters.
This class represents the camera calibration process. It requires a CalibrationPlate instance that provides the world coordinates of the reference points on the physical calibration plate. These points are needed to calculate the camera parameters.
The main operation is the CameraCalibration::Process() method, which calculates intrinsic and extrinsic parameters from input images.
Definition at line 44 of file peak_icv_camera_calibration.hpp.
|
inlineexplicit |
Constructs a CameraCalibration with the given calibration plate.
| [in] | calibrationPlate | Holds the world coordinates of the reference points. |
Definition at line 91 of file peak_icv_camera_calibration.hpp.
|
inline |
Calculates intrinsic and extrinsic parameters.
Processes several images showing the calibration plate in different poses to accurately calculate camera calibration parameters.
The calibration process involves detecting the reference points in the images and matching them to their known world coordinates provided by the calibration plate. Using these correspondences, the method estimates the camera’s intrinsic parameters (such as focal length and distortion) and extrinsic parameters (position and orientation).
| [in] | images | A vector of images of a calibration plate in different poses. |
| NotSupportedException | If the pattern of the calibration plate is not supported or the image has an unsupported format. |
| MismatchException | If the images do not all have the same size. |
| TargetNotFoundException | If the marker points were not found on the specified image. |
Definition at line 95 of file peak_icv_camera_calibration.hpp.