EExplicitGeometricCalibrationModel is used to calibrate a depth map from a minimal set of explicit geometric values. More...
#include <eVision/Easy3D/Easy3DLaserLine/EExplicitGeometricCalibrationModel.h>
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_ |
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
| eVision::Easy3D::EExplicitGeometricCalibrationModel::EExplicitGeometricCalibrationModel | ( | ) |
Constructs a EExplicitGeometricCalibrationModel. EExplicitGeometricCalibrationModel is used to calibrate a depth map from a minimal set of explicit geometric values.
| 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.
| sensorWidth | The camera sensor width, in mm. |
| sensorHeight | The camera sensor height, in mm. |
| sensorXResolution | The camera X resolution (pixel count in width). |
| sensorYResolution | The camera Y resolution (pixel count in height). |
| roiLeftColumn | The ROI left column used in laser line extraction. Between the left (0) and the right (width) of the image. |
| roiBottomLine | The 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. |
| focalLength | The camera optics focal length, in mm. |
| cameraAngle | The 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). |
| cameraHeight | 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. |
| laserPlaneAngle | The 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). |
| motionIncrement | The distance in mm between each line of the depth map. That's the relative motion of the camera/laser setup to the object position. |
| 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.
| other | Another EExplicitGeometricCalibrationModel. |
|
virtual | ||||||||||||
| eVision::Easy3D::EExplicitGeometricCalibrationModel::EExplicitGeometricCalibrationModel | ( | CppWrapperInternal::InternalConstructor | ) |
| float eVision::Easy3D::EExplicitGeometricCalibrationModel::GetCameraAngle | ( | ) | const |
Camera view angle.
| 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.
| float eVision::Easy3D::EExplicitGeometricCalibrationModel::GetFocalLength | ( | ) | const |
Camera focal length.
| float eVision::Easy3D::EExplicitGeometricCalibrationModel::GetLaserPlaneAngle | ( | ) | const |
Laser plane angle.
| float eVision::Easy3D::EExplicitGeometricCalibrationModel::GetMotionIncrement | ( | ) | const |
Motion increment (Distance between each line of the depth map).
| int eVision::Easy3D::EExplicitGeometricCalibrationModel::GetRoiBottomLine | ( | ) | const |
The ROI bottom line used in laser line extraction.
| int eVision::Easy3D::EExplicitGeometricCalibrationModel::GetRoiLeftColumn | ( | ) | const |
The ROI left column used in laser line extraction.
| float eVision::Easy3D::EExplicitGeometricCalibrationModel::GetSensorHeight | ( | ) | const |
Camera sensor height.
| float eVision::Easy3D::EExplicitGeometricCalibrationModel::GetSensorWidth | ( | ) | const |
Camera sensor width.
| int eVision::Easy3D::EExplicitGeometricCalibrationModel::GetSensorXResolution | ( | ) | const |
Camera X resolution.
| int eVision::Easy3D::EExplicitGeometricCalibrationModel::GetSensorYResolution | ( | ) | const |
Camera Y resolution.
|
virtual |
Returns the type of calibration model, see ECalibrationType.
Reimplemented from eVision::Easy3D::ECalibrationModel.
| bool eVision::Easy3D::EExplicitGeometricCalibrationModel::IsInitialized | ( | ) | const |
Returns true if the model has been correctly initialized.
| void eVision::Easy3D::EExplicitGeometricCalibrationModel::Load | ( | const std::string & | path | ) |
Loads the EExplicitGeometricCalibrationModel. The given ESerializer must have been created for reading.
| path | The file path. |
| void eVision::Easy3D::EExplicitGeometricCalibrationModel::Load | ( | eVision::ESerializer * | serializer | ) |
Loads the EExplicitGeometricCalibrationModel. The given ESerializer must have been created for reading.
| serializer | The serializer. |
| eVision::Easy3D::EExplicitGeometricCalibrationModel & eVision::Easy3D::EExplicitGeometricCalibrationModel::operator= | ( | const eVision::Easy3D::EExplicitGeometricCalibrationModel & | other | ) |
Assignment operator.
| other | Another EExplicitGeometricCalibrationModel. |
| bool eVision::Easy3D::EExplicitGeometricCalibrationModel::operator== | ( | const eVision::Easy3D::EExplicitGeometricCalibrationModel & | other | ) | const |
Comparison operator.
| other | The other EExplicitGeometricCalibrationModel. |
| void eVision::Easy3D::EExplicitGeometricCalibrationModel::Save | ( | const std::string & | path | ) |
Saves the EExplicitGeometricCalibrationModel. The given ESerializer must have been created for writing.
| path | The file path. |
| void eVision::Easy3D::EExplicitGeometricCalibrationModel::Save | ( | eVision::ESerializer * | serializer | ) |
Saves the EExplicitGeometricCalibrationModel. The given ESerializer must have been created for writing.
| serializer | The serializer. |