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

Properties

 SensorWidth = property(_SensorWidth__getter, None)
 Camera sensor width.
 SensorHeight = property(_SensorHeight__getter, None)
 Camera sensor height.
 SensorXResolution = property(_SensorXResolution__getter, None)
 Camera X resolution.
 SensorYResolution = property(_SensorYResolution__getter, None)
 Camera Y resolution.
 RoiLeftColumn = property(_RoiLeftColumn__getter, None)
 The ROI left column used in laser line extraction.
 RoiBottomLine = property(_RoiBottomLine__getter, None)
 The ROI bottom line used in laser line extraction.
 FocalLength = property(_FocalLength__getter, None)
 Camera focal length.
 CameraAngle = property(_CameraAngle__getter, None)
 Camera view angle.
 LaserPlaneAngle = property(_LaserPlaneAngle__getter, None)
 Laser plane angle.
 CameraHeight = property(_CameraHeight__getter, None)
 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.
 MotionIncrement = property(_MotionIncrement__getter, None)
 Motion increment (Distance between each line of the depth map).
 Type = property(_Type__getter, None)
 Returns the type of calibration model, see eVision.Easy3D.ECalibrationType.
Properties inherited from eVision.Easy3D.ECalibrationModel
 Type = property(_Type__getter, None)
 Returns the type of calibration model, see eVision.Easy3D.ECalibrationType.

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

◆ IsInitialized()

bool eVision.Easy3D.EExplicitGeometricCalibrationModel.IsInitialized ( self)

Returns true if the model has been correctly initialized.

◆ 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.

◆ 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.

Property Documentation

◆ CameraAngle

eVision.Easy3D.EExplicitGeometricCalibrationModel.CameraAngle = property(_CameraAngle__getter, None)
static

Camera view angle.

◆ CameraHeight

eVision.Easy3D.EExplicitGeometricCalibrationModel.CameraHeight = property(_CameraHeight__getter, None)
static

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

eVision.Easy3D.EExplicitGeometricCalibrationModel.FocalLength = property(_FocalLength__getter, None)
static

Camera focal length.

◆ LaserPlaneAngle

eVision.Easy3D.EExplicitGeometricCalibrationModel.LaserPlaneAngle = property(_LaserPlaneAngle__getter, None)
static

Laser plane angle.

◆ MotionIncrement

eVision.Easy3D.EExplicitGeometricCalibrationModel.MotionIncrement = property(_MotionIncrement__getter, None)
static

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

◆ RoiBottomLine

eVision.Easy3D.EExplicitGeometricCalibrationModel.RoiBottomLine = property(_RoiBottomLine__getter, None)
static

The ROI bottom line used in laser line extraction.

◆ RoiLeftColumn

eVision.Easy3D.EExplicitGeometricCalibrationModel.RoiLeftColumn = property(_RoiLeftColumn__getter, None)
static

The ROI left column used in laser line extraction.

◆ SensorHeight

eVision.Easy3D.EExplicitGeometricCalibrationModel.SensorHeight = property(_SensorHeight__getter, None)
static

Camera sensor height.

◆ SensorWidth

eVision.Easy3D.EExplicitGeometricCalibrationModel.SensorWidth = property(_SensorWidth__getter, None)
static

Camera sensor width.

◆ SensorXResolution

eVision.Easy3D.EExplicitGeometricCalibrationModel.SensorXResolution = property(_SensorXResolution__getter, None)
static

Camera X resolution.

◆ SensorYResolution

eVision.Easy3D.EExplicitGeometricCalibrationModel.SensorYResolution = property(_SensorYResolution__getter, None)
static

Camera Y resolution.

◆ Type

eVision.Easy3D.EExplicitGeometricCalibrationModel.Type = property(_Type__getter, None)
static

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