CVB++ 14.0
PinholeCameraCalibrator3D Class Reference

Calibration object to apply the pinhole camera model to the input range map. More...

#include <cvb/pinhole_camera_calibrator_3d.hpp>

Inherits Calibrator3D.

Static Public Member Functions

static PinholeCameraCalibrator3DPtr Create (double f, Point2D< double > principal)
 Creates a calibrator using pinhole camera model, including focal length, z-Scale and principal point. More...
 
static PinholeCameraCalibrator3DPtr Create (double f, double sz, Point2D< double > principal)
 Creates a calibrator using pinhole camera model, including focal length, z-Scale and principal point. More...
 
static PinholeCameraCalibrator3DPtr Create (double fx, double fy, double sz, Point2D< double > principal)
 Creates a calibrator using pinhole camera model, including focal length, z-Scale and principal point. More...
 
- Static Public Member Functions inherited from Calibrator3D
template<class T >
static std::shared_ptr< T > Load (const String &fileName)
 Loads a 3D calibration from file. More...
 
static Calibrator3DPtr FromHandle (HandleGuard< Calibrator3D > &&guard)
 Creates a calibrator from a classic API handle. More...
 

Additional Inherited Members

- Public Member Functions inherited from Calibrator3D
Cvb::optional< double > RangeMapIgnoreValue () const
 Gets value to be ignored in range map. More...
 
void SetRangeMapIgnoreValue (Cvb::optional< double > rangeMapIgnoreValue)
 Sets value to be ignored in range map in the calibrator. More...
 
AffineMatrix3D ExtrinsicMatrix () const
 Gets the extrinsic transformation matrix (rigid body transformation) of the calibrator. More...
 
void SetExtrinsicMatrix (const AffineMatrix3D &transformation)
 Sets the extrinsic transformation matrix (rigid body transformation with rotation and translation) of the calibrator. More...
 
void Save (const String &fileName) const
 Write the current content calibrator to a file. More...
 
void * Handle () const noexcept
 Returns C-API style handle to Node Object. More...
 

Detailed Description

Calibration object to apply the pinhole camera model to the input range map.

Member Function Documentation

◆ Create() [1/3]

static PinholeCameraCalibrator3DPtr Create ( double  f,
double  sz,
Point2D< double >  principal 
)
inlinestatic

Creates a calibrator using pinhole camera model, including focal length, z-Scale and principal point.

Parameters
[in]ffocal length in x and y direction.
[in]szscale parameter for z direction.
[in]principalprincipal point of the sensor.
Returns
Pointer to created calibration object.
Exceptions
Anyexception derived from std::exception including CvbException.

◆ Create() [2/3]

static PinholeCameraCalibrator3DPtr Create ( double  f,
Point2D< double >  principal 
)
inlinestatic

Creates a calibrator using pinhole camera model, including focal length, z-Scale and principal point.

Scale parameter sz is 1.

Parameters
[in]ffocal length in x and y direction.
[in]principalprincipal point of the sensor.
Returns
Pointer to created calibration object.
Exceptions
Anyexception derived from std::exception including CvbException.

◆ Create() [3/3]

static PinholeCameraCalibrator3DPtr Create ( double  fx,
double  fy,
double  sz,
Point2D< double >  principal 
)
inlinestatic

Creates a calibrator using pinhole camera model, including focal length, z-Scale and principal point.

Parameters
[in]fxfocal length in x (horizontal) direction.
[in]fyfocal length in y (vertical) direction.
[in]szscale parameter for z direction.
[in]principalprincipal point of the sensor.
Returns
Pointer to created calibration object.
Exceptions
Anyexception derived from std::exception including CvbException.