![]() |
Zivid C++ API
1.8.1+6967bc1b-1
Defining the Future of 3D Machine Vision
|
The calibration result containing the computed pose and reprojection errors for all the input poses More...
#include <Zivid/HandEye/Calibrate.h>
Public Member Functions | |
ZIVID_API_EXPORT | CalibrationOutput (const Matrix4d &handEyeTransform, const std::vector< CalibrationResidual > &perPoseCalibrationResiduals) |
Constructs a CalibrationOutput instance. More... | |
ZIVID_API_EXPORT bool | valid () const |
Test if CalibrationOutput is valid. More... | |
ZIVID_API_EXPORT | operator bool () const |
Test if CalibrationOutput is valid. More... | |
const ZIVID_API_EXPORT Matrix4d & | handEyeTransform () const |
Hand-eye transform. More... | |
const ZIVID_API_EXPORT std::vector< CalibrationResidual > & | perPoseCalibrationResiduals () const |
Calibration residuals. More... | |
ZIVID_API_EXPORT std::string | toString () const |
Get string representation of the calibration output More... | |
The calibration result containing the computed pose and reprojection errors for all the input poses
ZIVID_API_EXPORT Zivid::HandEye::CalibrationOutput::CalibrationOutput | ( | const Matrix4d & | handEyeTransform, |
const std::vector< CalibrationResidual > & | perPoseCalibrationResiduals | ||
) |
Constructs a CalibrationOutput instance.
handEyeTransform | Computed hand-eye calibration transform. |
perPoseCalibrationResiduals | Per pose calibration residuals. |
const ZIVID_API_EXPORT Matrix4d& Zivid::HandEye::CalibrationOutput::handEyeTransform | ( | ) | const |
Hand-eye transform.
A 4x4 matrix describing hand-eye calibration transform (either eye-in-hand or eye-to-hand). An exception is thrown if the result is not valid.
|
explicit |
Test if CalibrationOutput is valid.
const ZIVID_API_EXPORT std::vector<CalibrationResidual>& Zivid::HandEye::CalibrationOutput::perPoseCalibrationResiduals | ( | ) | const |
Calibration residuals.
Feature points (for each input pose) are transformed into a common frame. A rigid transform between feature points and corresponding centroids are utilized to compute residuals for rotational and translational parts. An exception is thrown if the result is not valid.
ZIVID_API_EXPORT std::string Zivid::HandEye::CalibrationOutput::toString | ( | ) | const |
Get string representation of the calibration output
ZIVID_API_EXPORT bool Zivid::HandEye::CalibrationOutput::valid | ( | ) | const |
Test if CalibrationOutput is valid.