A data component storing mainly the intrinsic calibration of a pinhole camera Information such as image size, extrinsic poses and distortions are also stored Debug values like MRE and standard deviations estimated for intrinsic parameters, which are used for evaluating the calibration results during the calibration process are also saved here.
More...
A data component storing mainly the intrinsic calibration of a pinhole camera Information such as image size, extrinsic poses and distortions are also stored Debug values like MRE and standard deviations estimated for intrinsic parameters, which are used for evaluating the calibration results during the calibration process are also saved here.
|
|
| CameraCalibrationDataComponent ()=default |
| | Default constructor.
|
|
| CameraCalibrationDataComponent (const vec2i &size, const mat3 &k, const vec5 &dist) |
| | Constructor with image size, intrinsic matrix, distortion.
|
|
| CameraCalibrationDataComponent (const vec2i &size, const mat3 &k, const vec5 &dist, const mat4 ®) |
| | Constructor with image size, intrinsic matrix, distortion, and extrinsic registration.
|
|
CameraCalibrationDataComponent & | operator= (const CameraCalibrationDataComponent &other)=default |
| | Assignment operator.
|
|
bool | operator== (const CameraCalibrationDataComponent &other) const |
| | Checks for exact equality of all parameters.
|
|
bool | isApprox (const CameraCalibrationDataComponent &other, double precision=std::numeric_limits< double >::epsilon()) const |
| | Checks for approximate equality of all parameters within a given precision.
|
| std::string | id () const override |
| | Returns the component type identifier.
|
| bool | checkImageSizeAndCalibrationConsistency (const vec2i &size) const |
| | Checks if the physical image size and the size in this component are consistent.
|
| bool | adaptCalibrationToCropping (const vec4i &cropBox) |
| | Adapts the intrinsic calibration to a cropped image.
|
| bool | adaptCalibrationToPadding (const vec4i &padValues) |
| | Adapts the intrinsic calibration to a padded image.
|
| bool | adaptCalibrationToResizing (const vec2i &newSize) |
| | Adapts the intrinsic calibration to a resized image.
|
|
bool | save (const Filesystem::Path &file) |
| | Saves the calibration to a file.
|
|
bool | load (const Filesystem::Path &file) |
| | Loads the calibration from a file.
|
| void | configure (const Properties *p) override |
| | Configures the component from a Properties object.
|
|
bool | valid () const |
| std::unique_ptr< DataComponentBase > | clone () const override |
| | Creates a clone of this data component.
|
|
std::unique_ptr< Subclass > | cloneDerived () const |
| bool | assign (const DataComponentBase &other) override |
| | Assigns the content of other to this data component.
|
| bool | equals (const DataComponentBase &other) const override |
| | Compares this data component to other for equality.
|
| virtual void | configuration (Properties *p) const |
| | Serialize the current object configuration into the given Properties object.
|
| virtual void | configureDefaults () |
| | Retrieve the properties of this object, replaces values with their defaults and sets it again.
|
|
void | registerParameter (ParameterBase *param) |
| | Register the given Parameter or SubProperty, so that it will be configured during configure()/configuration().
|
|
void | unregisterParameter (const ParameterBase *param) |
| | Remove the given Parameter or SubProperty from the list of registered parameters.
|
|
| Configurable (const Configurable &rhs) |
|
| Configurable (Configurable &&rhs) noexcept |
|
Configurable & | operator= (const Configurable &) |
|
Configurable & | operator= (Configurable &&) noexcept |
|
|
Parameter< vec2i > | p_imageSize = {"imageSize", vec2i::Zero(), this} |
|
Parameter< mat3 > | p_K = {"K", mat3::Zero(), this} |
|
Parameter< vec5 > | p_distortion = {"distortion", vec5::Zero(), this} |
|
Parameter< mat4 > | p_camToWorldT = {"registration", mat4::Identity(), this} |
|
Parameter< double > | p_mre = {"mre", 0., this} |
|
Parameter< vec4 > | p_stdK = {"stdK", vec4::Zero(), this} |
|
Parameter< vec5 > | p_stdDistortion = {"stdDistortion", vec5::Zero(), this} |
|
Parameter< std::string > | p_serialNumber = {"serialNumber", "", this} |
|
Signal | signalParametersChanged |
| | Emitted whenever one of the registered Parameters' or SubPropertys' signalValueChanged signal was emitted.
|