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

eVision.Easy3D.EScaleCalibrationModel is used to convert depth map 2.5D point to 3D world position, only by applying a scale factor. More...

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

Public Member Functions

None __init__ (self)
 Constructs a eVision.Easy3D.EScaleCalibrationModel.
None __init__ (self, float factorX, float factorY, float factorZ)
 Constructs a eVision.Easy3D.EScaleCalibrationModel.
None __init__ (self, eVision.Easy3D.EScaleCalibrationModel other)
 Constructs a eVision.Easy3D.EScaleCalibrationModel.
None Load (self, str path)
 Loads the eVision.Easy3D.EScaleCalibrationModel calibration model.
None Load (self, eVision.ESerializer|None serializer)
 Loads the eVision.Easy3D.EScaleCalibrationModel calibration model.
None Save (self, str path)
 Saves the eVision.Easy3D.EScaleCalibrationModel calibration model.
None Save (self, eVision.ESerializer|None serializer)
 Saves the eVision.Easy3D.EScaleCalibrationModel calibration model.
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

 FactorX = property(_FactorX__getter, None)
 Returns the width of a pixel in metric unit.
 FactorY = property(_FactorY__getter, None)
 Returns the distance between 2 profiles (depth map lines) in metric unit.
 FactorZ = property(_FactorZ__getter, None)
 Returns the scale of the pixel value in metric unit.
 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.EScaleCalibrationModel is used to convert depth map 2.5D point to 3D world position, only by applying a scale factor.

That kind of "calibration" does not correct the perspective or distortion present in depth maps. It is a simple and fast way to get a 3D point cloud by applying a scale to each coordinate axis of the depth map pixels.

Remarks:

License(s): Easy3D

Constructor & Destructor Documentation

◆ __init__() [1/3]

None eVision.Easy3D.EScaleCalibrationModel.__init__ ( self)

Constructs a eVision.Easy3D.EScaleCalibrationModel.

By default parameters are initialized to default unit values.

◆ __init__() [2/3]

None eVision.Easy3D.EScaleCalibrationModel.__init__ ( self,
float factorX,
float factorY,
float factorZ )

Constructs a eVision.Easy3D.EScaleCalibrationModel.

By default parameters are initialized to default unit values.

Parameters
factorXWidth of a pixel in metric unit (factor for X coordinate).
factorYDistance between 2 profiles (depth map lines) in metric unit (factor for Y coordinate).
factorZScale of the pixel value in metric unit (factor for Z coordinate).

◆ __init__() [3/3]

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

Constructs a eVision.Easy3D.EScaleCalibrationModel.

By default parameters are initialized to default unit values.

Parameters
otherAnother eVision.Easy3D.EScaleCalibrationModel used for the initialization.

Member Function Documentation

◆ Load() [1/2]

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

Loads the eVision.Easy3D.EScaleCalibrationModel calibration model.

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

Parameters
serializerThe serializer.

Reimplemented from eVision.Easy3D.ECalibrationModel.

◆ Load() [2/2]

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

Loads the eVision.Easy3D.EScaleCalibrationModel calibration model.

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.EScaleCalibrationModel.Save ( self,
eVision.ESerializer | None serializer )

Saves the eVision.Easy3D.EScaleCalibrationModel calibration model.

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

Parameters
serializerThe eVision.ESerializer object that is written to.

Reimplemented from eVision.Easy3D.ECalibrationModel.

◆ Save() [2/2]

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

Saves the eVision.Easy3D.EScaleCalibrationModel calibration model.

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

Parameters
pathThe file path.

Reimplemented from eVision.Easy3D.ECalibrationModel.

Property Documentation

◆ FactorX

eVision.Easy3D.EScaleCalibrationModel.FactorX = property(_FactorX__getter, None)
static

Returns the width of a pixel in metric unit.

◆ FactorY

eVision.Easy3D.EScaleCalibrationModel.FactorY = property(_FactorY__getter, None)
static

Returns the distance between 2 profiles (depth map lines) in metric unit.

◆ FactorZ

eVision.Easy3D.EScaleCalibrationModel.FactorZ = property(_FactorZ__getter, None)
static

Returns the scale of the pixel value in metric unit.

◆ Type

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

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