eVision Python API
Loading...
Searching...
No Matches
eVision.Easy3D.EExplicitGeometricCalibrationModel Class Reference

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

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

Public Member Functions

None __init__ (self)
 Constructs a eVision.Easy3D.EExplicitGeometricCalibrationModel.
None __init__ (self, float sensorWidth, float sensorHeight, int sensorXResolution, int sensorYResolution, int roiLeftColumn, int roiBottomLine, float focalLength, float cameraAngle, float cameraHeight, float laserPlaneAngle, float motionIncrement)
 Constructs a eVision.Easy3D.EExplicitGeometricCalibrationModel.
None __init__ (self, eVision.Easy3D.EExplicitGeometricCalibrationModel other)
 Constructs a eVision.Easy3D.EExplicitGeometricCalibrationModel.
bool IsInitialized (self)
 Returns true if the model has been correctly initialized.
None Load (self, str path)
 Loads the eVision.Easy3D.EExplicitGeometricCalibrationModel.
None Load (self, eVision.ESerializer|None serializer)
 Loads the eVision.Easy3D.EExplicitGeometricCalibrationModel.
None Save (self, str path)
 Saves the eVision.Easy3D.EExplicitGeometricCalibrationModel.
None Save (self, eVision.ESerializer|None serializer)
 Saves the eVision.Easy3D.EExplicitGeometricCalibrationModel.
float SensorWidth (self)
 Camera sensor width.
float SensorHeight (self)
 Camera sensor height.
int SensorXResolution (self)
 Camera X resolution.
int SensorYResolution (self)
 Camera Y resolution.
int RoiLeftColumn (self)
 The ROI left column used in laser line extraction.
int RoiBottomLine (self)
 The ROI bottom line used in laser line extraction.
float FocalLength (self)
 Camera focal length.
float CameraAngle (self)
 Camera view angle.
float LaserPlaneAngle (self)
 Laser plane angle.
float CameraHeight (self)
 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 MotionIncrement (self)
 Motion increment (Distance between each line of the depth map).
eVision.Easy3D.ECalibrationType Type (self)
 Returns the type of calibration model, see eVision.Easy3D.ECalibrationType.
Public Member Functions inherited from eVision.Easy3D.ECalibrationModel
eVision.Easy3D.E3DPoint Apply (self, eVision.Easy3D.E3DPoint uvwPoint)
 Applies this model to convert an uncalibrated point to a world position.

Additional Inherited Members

Static Public Member Functions inherited from eVision.Easy3D.ECalibrationModel
eVision.Easy3D.ECalibrationModel|None Create (str path)
 Factory method from a serializer stream: allocates and reads the calibration model from the given serializer.
eVision.Easy3D.ECalibrationModel|None Create (eVision.ESerializer|None file)
 Factory method from a serializer stream: allocates and reads the calibration model from the given serializer.

Detailed Description

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

All model parameters are given to the eVision.Easy3D.EExplicitGeometricCalibrationModel constructor.

Remarks:

License(s): Easy3DLaserLine

Constructor & Destructor Documentation

◆ __init__() [1/3]

None eVision.Easy3D.EExplicitGeometricCalibrationModel.__init__ ( self)

Constructs a eVision.Easy3D.EExplicitGeometricCalibrationModel.

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

◆ __init__() [2/3]

None eVision.Easy3D.EExplicitGeometricCalibrationModel.__init__ ( self,
float sensorWidth,
float sensorHeight,
int sensorXResolution,
int sensorYResolution,
int roiLeftColumn,
int roiBottomLine,
float focalLength,
float cameraAngle,
float cameraHeight,
float laserPlaneAngle,
float motionIncrement )

Constructs a eVision.Easy3D.EExplicitGeometricCalibrationModel.

eVision.Easy3D.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.

◆ __init__() [3/3]

None eVision.Easy3D.EExplicitGeometricCalibrationModel.__init__ ( self,
eVision.Easy3D.EExplicitGeometricCalibrationModel other )

Constructs a eVision.Easy3D.EExplicitGeometricCalibrationModel.

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

Parameters
otherAnother eVision.Easy3D.EExplicitGeometricCalibrationModel.

Member Function Documentation

◆ CameraAngle()

float eVision.Easy3D.EExplicitGeometricCalibrationModel.CameraAngle ( self)

Camera view angle.

◆ CameraHeight()

float eVision.Easy3D.EExplicitGeometricCalibrationModel.CameraHeight ( self)

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.

◆ FocalLength()

float eVision.Easy3D.EExplicitGeometricCalibrationModel.FocalLength ( self)

Camera focal length.

◆ IsInitialized()

bool eVision.Easy3D.EExplicitGeometricCalibrationModel.IsInitialized ( self)

Returns true if the model has been correctly initialized.

◆ LaserPlaneAngle()

float eVision.Easy3D.EExplicitGeometricCalibrationModel.LaserPlaneAngle ( self)

Laser plane angle.

◆ Load() [1/2]

None eVision.Easy3D.EExplicitGeometricCalibrationModel.Load ( self,
eVision.ESerializer | None serializer )

Loads the eVision.Easy3D.EExplicitGeometricCalibrationModel.

The given eVision.ESerializer must have been created for reading.

Parameters
serializerThe serializer.

Reimplemented from eVision.Easy3D.ECalibrationModel.

◆ Load() [2/2]

None eVision.Easy3D.EExplicitGeometricCalibrationModel.Load ( self,
str path )

Loads the eVision.Easy3D.EExplicitGeometricCalibrationModel.

The given eVision.ESerializer must have been created for reading.

Parameters
pathThe file path.

Reimplemented from eVision.Easy3D.ECalibrationModel.

◆ MotionIncrement()

float eVision.Easy3D.EExplicitGeometricCalibrationModel.MotionIncrement ( self)

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

◆ RoiBottomLine()

int eVision.Easy3D.EExplicitGeometricCalibrationModel.RoiBottomLine ( self)

The ROI bottom line used in laser line extraction.

◆ RoiLeftColumn()

int eVision.Easy3D.EExplicitGeometricCalibrationModel.RoiLeftColumn ( self)

The ROI left column used in laser line extraction.

◆ Save() [1/2]

None eVision.Easy3D.EExplicitGeometricCalibrationModel.Save ( self,
eVision.ESerializer | None serializer )

Saves the eVision.Easy3D.EExplicitGeometricCalibrationModel.

The given eVision.ESerializer must have been created for writing.

Parameters
serializerThe serializer.

Reimplemented from eVision.Easy3D.ECalibrationModel.

◆ Save() [2/2]

None eVision.Easy3D.EExplicitGeometricCalibrationModel.Save ( self,
str path )

Saves the eVision.Easy3D.EExplicitGeometricCalibrationModel.

The given eVision.ESerializer must have been created for writing.

Parameters
pathThe file path.

Reimplemented from eVision.Easy3D.ECalibrationModel.

◆ SensorHeight()

float eVision.Easy3D.EExplicitGeometricCalibrationModel.SensorHeight ( self)

Camera sensor height.

◆ SensorWidth()

float eVision.Easy3D.EExplicitGeometricCalibrationModel.SensorWidth ( self)

Camera sensor width.

◆ SensorXResolution()

int eVision.Easy3D.EExplicitGeometricCalibrationModel.SensorXResolution ( self)

Camera X resolution.

◆ SensorYResolution()

int eVision.Easy3D.EExplicitGeometricCalibrationModel.SensorYResolution ( self)

Camera Y resolution.

◆ Type()

eVision.Easy3D.ECalibrationType eVision.Easy3D.EExplicitGeometricCalibrationModel.Type ( self)

Returns the type of calibration model, see eVision.Easy3D.ECalibrationType.

Reimplemented from eVision.Easy3D.ECalibrationModel.