eVision C++ API 26.10.0-beta.2.dev
Loading...
Searching...
No Matches
eVision::Easy3D::EExplicitGeometricCalibrationModel Class Reference

EExplicitGeometricCalibrationModel is used to calibrate a depth map from a minimal set of explicit geometric values. More...

#include <eVision/Easy3D/Easy3DLaserLine/EExplicitGeometricCalibrationModel.h>

Inheritance diagram for eVision::Easy3D::EExplicitGeometricCalibrationModel:
Collaboration diagram for eVision::Easy3D::EExplicitGeometricCalibrationModel:

Public Member Functions

 EExplicitGeometricCalibrationModel ()
 Constructs a EExplicitGeometricCalibrationModel. EExplicitGeometricCalibrationModel is used to calibrate a depth map from a minimal set of explicit geometric values.
 EExplicitGeometricCalibrationModel (float sensorWidth, float sensorHeight, int sensorXResolution, int sensorYResolution, int roiLeftColumn, int roiBottomLine, float focalLength, float cameraAngle, float cameraHeight, float laserPlaneAngle, float motionIncrement)
 Constructs a EExplicitGeometricCalibrationModel. EExplicitGeometricCalibrationModel is used to calibrate a depth map from a minimal set of explicit geometric values.
 EExplicitGeometricCalibrationModel (const eVision::Easy3D::EExplicitGeometricCalibrationModel &other)
 Constructs a EExplicitGeometricCalibrationModel. EExplicitGeometricCalibrationModel is used to calibrate a depth map from a minimal set of explicit geometric values.
virtual ~EExplicitGeometricCalibrationModel () throw ()
eVision::Easy3D::EExplicitGeometricCalibrationModel & operator= (const eVision::Easy3D::EExplicitGeometricCalibrationModel &other)
 Assignment operator.
bool operator== (const eVision::Easy3D::EExplicitGeometricCalibrationModel &other) const
 Comparison operator.
float GetSensorWidth () const
 Camera sensor width.
float GetSensorHeight () const
 Camera sensor height.
int GetSensorXResolution () const
 Camera X resolution.
int GetSensorYResolution () const
 Camera Y resolution.
int GetRoiLeftColumn () const
 The ROI left column used in laser line extraction.
int GetRoiBottomLine () const
 The ROI bottom line used in laser line extraction.
float GetFocalLength () const
 Camera focal length.
float GetCameraAngle () const
 Camera view angle.
float GetLaserPlaneAngle () const
 Laser plane angle.
float GetCameraHeight () const
 The height from the camera optical center to the object reference plane (assuming the reference plane is projected in the center line of the image), in mm.
float GetMotionIncrement () const
 Motion increment (Distance between each line of the depth map).
bool IsInitialized () const
 Returns true if the model has been correctly initialized.
virtual eVision::Easy3D::ECalibrationType GetType () const
 Returns the type of calibration model, see ECalibrationType.
void Load (const std::string &path)
 Loads the EExplicitGeometricCalibrationModel. The given ESerializer must have been created for reading.
void Load (eVision::ESerializer *serializer)
 Loads the EExplicitGeometricCalibrationModel. The given ESerializer must have been created for reading.
void Save (const std::string &path)
 Saves the EExplicitGeometricCalibrationModel. The given ESerializer must have been created for writing.
void Save (eVision::ESerializer *serializer)
 Saves the EExplicitGeometricCalibrationModel. The given ESerializer must have been created for writing.
 EExplicitGeometricCalibrationModel (CppWrapperInternal::InternalConstructor)
Public Member Functions inherited from eVision::Easy3D::ECalibrationModel
virtual ~ECalibrationModel () throw ()
virtual eVision::Easy3D::E3DPoint Apply (eVision::Easy3D::E3DPoint uvwPoint)
 Applies this model to convert an uncalibrated point to a world position.
void Load (const std::string &path)
 Loads the calibration model. The given ESerializer must have been created for reading.
void Load (eVision::ESerializer *serializer)
 Loads the calibration model. The given ESerializer must have been created for reading.
void Save (const std::string &path)
 Saves the calibration model. The given ESerializer must have been created for writing.
void Save (eVision::ESerializer *serializer)
 Saves the calibration model. The given ESerializer must have been created for writing.
 ECalibrationModel (CppWrapperInternal::InternalConstructor)

Additional Inherited Members

Static Public Member Functions inherited from eVision::Easy3D::ECalibrationModel
static std::unique_ptr< eVision::Easy3D::ECalibrationModel > Create (const std::string &path)
 Factory method from a serializer stream: allocates and reads the calibration model from the given serializer.
static std::unique_ptr< eVision::Easy3D::ECalibrationModel > Create (eVision::ESerializer *file)
 Factory method from a serializer stream: allocates and reads the calibration model from the given serializer.
Public Attributes inherited from eVision::Easy3D::ECalibrationModel
CppWrapperInternal::WrappedClass wrappedClass_

Detailed Description

EExplicitGeometricCalibrationModel is used to calibrate a depth map from a minimal set of explicit geometric values.

All model parameters are given to the EExplicitGeometricCalibrationModel constructor.

License(s): Easy3DLaserLine

Constructor & Destructor Documentation

◆ EExplicitGeometricCalibrationModel() [1/4]

eVision::Easy3D::EExplicitGeometricCalibrationModel::EExplicitGeometricCalibrationModel ( )

Constructs a EExplicitGeometricCalibrationModel. EExplicitGeometricCalibrationModel is used to calibrate a depth map from a minimal set of explicit geometric values.

◆ EExplicitGeometricCalibrationModel() [2/4]

eVision::Easy3D::EExplicitGeometricCalibrationModel::EExplicitGeometricCalibrationModel ( float sensorWidth,
float sensorHeight,
int sensorXResolution,
int sensorYResolution,
int roiLeftColumn,
int roiBottomLine,
float focalLength,
float cameraAngle,
float cameraHeight,
float laserPlaneAngle,
float motionIncrement )

Constructs a EExplicitGeometricCalibrationModel. EExplicitGeometricCalibrationModel is used to calibrate a depth map from a minimal set of explicit geometric values.

Parameters
sensorWidthThe camera sensor width, in mm.
sensorHeightThe camera sensor height, in mm.
sensorXResolutionThe camera X resolution (pixel count in width).
sensorYResolutionThe camera Y resolution (pixel count in height).
roiLeftColumnThe ROI left column used in laser line extraction. Between the left (0) and the right (width) of the image.
roiBottomLineThe ROI bottom line used in laser line extraction. Between the top (0) and the bottom (height) of the image. That's the depth map values origin.
focalLengthThe camera optics focal length, in mm.
cameraAngleThe camera angle from the vertical axis. Looking down camera is angle 0 and positive in counter clockwise direction. Valid values are between 0 (vertical orientation) and lower that 90 degrees (horizontal orientation).
cameraHeightThe height from the camera optical center to the object reference plane (assuming the reference plane is projected in the center line of the image), in mm.
laserPlaneAngleThe laser plane angle from the vertical axis. A perfect vertical laser orientation is angle 0 and negative in clockwise direction. Valid values for laser angle are between -90 degrees (excluded) and +90 degrees (excluded).
motionIncrementThe distance in mm between each line of the depth map. That's the relative motion of the camera/laser setup to the object position.

◆ EExplicitGeometricCalibrationModel() [3/4]

eVision::Easy3D::EExplicitGeometricCalibrationModel::EExplicitGeometricCalibrationModel ( const eVision::Easy3D::EExplicitGeometricCalibrationModel & other)

Constructs a EExplicitGeometricCalibrationModel. EExplicitGeometricCalibrationModel is used to calibrate a depth map from a minimal set of explicit geometric values.

Parameters
otherAnother EExplicitGeometricCalibrationModel.

◆ ~EExplicitGeometricCalibrationModel()

eVision::Easy3D::EExplicitGeometricCalibrationModel::~EExplicitGeometricCalibrationModel ( )
throw ( )
virtual

◆ EExplicitGeometricCalibrationModel() [4/4]

eVision::Easy3D::EExplicitGeometricCalibrationModel::EExplicitGeometricCalibrationModel ( CppWrapperInternal::InternalConstructor )

Member Function Documentation

◆ GetCameraAngle()

float eVision::Easy3D::EExplicitGeometricCalibrationModel::GetCameraAngle ( ) const

Camera view angle.

◆ GetCameraHeight()

float eVision::Easy3D::EExplicitGeometricCalibrationModel::GetCameraHeight ( ) const

The height from the camera optical center to the object reference plane (assuming the reference plane is projected in the center line of the image), in mm.

◆ GetFocalLength()

float eVision::Easy3D::EExplicitGeometricCalibrationModel::GetFocalLength ( ) const

Camera focal length.

◆ GetLaserPlaneAngle()

float eVision::Easy3D::EExplicitGeometricCalibrationModel::GetLaserPlaneAngle ( ) const

Laser plane angle.

◆ GetMotionIncrement()

float eVision::Easy3D::EExplicitGeometricCalibrationModel::GetMotionIncrement ( ) const

Motion increment (Distance between each line of the depth map).

◆ GetRoiBottomLine()

int eVision::Easy3D::EExplicitGeometricCalibrationModel::GetRoiBottomLine ( ) const

The ROI bottom line used in laser line extraction.

◆ GetRoiLeftColumn()

int eVision::Easy3D::EExplicitGeometricCalibrationModel::GetRoiLeftColumn ( ) const

The ROI left column used in laser line extraction.

◆ GetSensorHeight()

float eVision::Easy3D::EExplicitGeometricCalibrationModel::GetSensorHeight ( ) const

Camera sensor height.

◆ GetSensorWidth()

float eVision::Easy3D::EExplicitGeometricCalibrationModel::GetSensorWidth ( ) const

Camera sensor width.

◆ GetSensorXResolution()

int eVision::Easy3D::EExplicitGeometricCalibrationModel::GetSensorXResolution ( ) const

Camera X resolution.

◆ GetSensorYResolution()

int eVision::Easy3D::EExplicitGeometricCalibrationModel::GetSensorYResolution ( ) const

Camera Y resolution.

◆ GetType()

eVision::Easy3D::ECalibrationType eVision::Easy3D::EExplicitGeometricCalibrationModel::GetType ( ) const
virtual

Returns the type of calibration model, see ECalibrationType.

Reimplemented from eVision::Easy3D::ECalibrationModel.

◆ IsInitialized()

bool eVision::Easy3D::EExplicitGeometricCalibrationModel::IsInitialized ( ) const

Returns true if the model has been correctly initialized.

◆ Load() [1/2]

void eVision::Easy3D::EExplicitGeometricCalibrationModel::Load ( const std::string & path)

Loads the EExplicitGeometricCalibrationModel. The given ESerializer must have been created for reading.

Parameters
pathThe file path.

◆ Load() [2/2]

void eVision::Easy3D::EExplicitGeometricCalibrationModel::Load ( eVision::ESerializer * serializer)

Loads the EExplicitGeometricCalibrationModel. The given ESerializer must have been created for reading.

Parameters
serializerThe serializer.

◆ operator=()

eVision::Easy3D::EExplicitGeometricCalibrationModel & eVision::Easy3D::EExplicitGeometricCalibrationModel::operator= ( const eVision::Easy3D::EExplicitGeometricCalibrationModel & other)

Assignment operator.

Parameters
otherAnother EExplicitGeometricCalibrationModel.

◆ operator==()

bool eVision::Easy3D::EExplicitGeometricCalibrationModel::operator== ( const eVision::Easy3D::EExplicitGeometricCalibrationModel & other) const

Comparison operator.

Parameters
otherThe other EExplicitGeometricCalibrationModel.

◆ Save() [1/2]

void eVision::Easy3D::EExplicitGeometricCalibrationModel::Save ( const std::string & path)

Saves the EExplicitGeometricCalibrationModel. The given ESerializer must have been created for writing.

Parameters
pathThe file path.

◆ Save() [2/2]

void eVision::Easy3D::EExplicitGeometricCalibrationModel::Save ( eVision::ESerializer * serializer)

Saves the EExplicitGeometricCalibrationModel. The given ESerializer must have been created for writing.

Parameters
serializerThe serializer.