ImFusion SDK 4.3
CameraCalibrationSettings Class Reference

#include <ImFusion/Vision/CameraCalibrationSettings.h>

The class stores all parameters/settings for camera calibration. More...

+ Inheritance diagram for CameraCalibrationSettings:

Detailed Description

The class stores all parameters/settings for camera calibration.

Public Types

enum  LensModel { Standard = 0 , Fisheye }
 

Public Member Functions

void setLensModel (LensModel model)
 
LensModel lensModel () const
 
void setFixPrincipalPoint (bool fix)
 Specifies whether the principal point should remain unchanged during the calibration (stays in the image center if no initial intrinsics provided)
 
bool fixPrincipalPoint () const
 
void setFixAspectRatio (bool fix)
 The ratio fx/fy stays the same as in the initial intrinsics.
 
bool fixAspectRatio () const
 
void setZeroRadialDistortion (bool zeroDist)
 Radial distortion [k1, k2, k3] are set to zeros and stay zero.
 
bool zeroRadialDistortion () const
 
void setFixRadialDistortion (bool fixK1, bool fixK2, bool fixK3)
 The corresponding radial distortion [k1, k2, k3] coefficient is not changed during the calibration.
 
void fixRadialDistortion (bool &fixK1, bool &fixK2, bool &fixK3) const
 
void setZeroTangentialDistortion (bool zeroDist)
 Tangential distortion coefficients [p1, p2] are set to zeros and stay zero.
 
bool zeroTangentialDistortion () const
 
void setStereoSameFocalLength (bool sameFocalLength)
 Enforce that both cameras have the same focal length in both x and y directions.
 
bool stereoSameFocalLength () const
 
void setRecalibrateWithInliers (bool v)
 Specifies whether calibration should be re-run with images that have per-frame MRE smaller than the one specified in Max reprojection error.
 
bool recalibrateWithInliers () const
 
void setUseAutoSelection (bool v)
 If true, a subset of images will be automatically selected, instead of using all images.
 
bool useAutoSelection () const
 
void setReprojectionErrorThreshold (double v)
 Specifies maximum reprojection error for inliers to use in recalibration when.
 
double reprojectionErrorThreshold () const
 
void setMinDetections (int v)
 Specifies the minimum number of detected points per image.
 
int minDetections () const
 
void setMaxSelection (int v)
 Maximum number of images to select when.
 
int maxSelection () const
 
void configure (const Properties *p) override
 Configure this object instance by de-serializing the given Properties.
 
void configuration (Properties *p) const override
 Serialize the current object configuration into the given Properties object.
 
- Public Member Functions inherited from Configurable
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
 
Configurableoperator= (const Configurable &)
 
Configurableoperator= (Configurable &&) noexcept
 

Additional Inherited Members

- Public Attributes inherited from Configurable
Signal signalParametersChanged
 Emitted whenever one of the registered Parameters' or SubPropertys' signalValueChanged signal was emitted.
 
- Protected Attributes inherited from Configurable
std::vector< Paramm_params
 List of all registered Parameter and SubProperty instances.
 

Member Function Documentation

◆ setReprojectionErrorThreshold()

void setReprojectionErrorThreshold ( double v)
inline

Specifies maximum reprojection error for inliers to use in recalibration when.

Parameters
recalibrateWithInliersis enabled

◆ setMaxSelection()

void setMaxSelection ( int v)
inline

Maximum number of images to select when.

Parameters
useAutoSelectionis enabled

◆ configure()

void configure ( const Properties * p)
overridevirtual

Configure this object instance by de-serializing the given Properties.

The default implementation will do so automatically for all registered Parameter and SubProperty instances.

See also
configuration() for the inverse functionality

Reimplemented from Configurable.

◆ configuration()

void configuration ( Properties * p) const
overridevirtual

Serialize the current object configuration into the given Properties object.

The default implementation will do so automatically for all registered Parameter and SubProperty instances.

See also
configure() for the inverse functionality

Reimplemented from Configurable.


The documentation for this class was generated from the following file:
Search Tab / S to search, Esc to close