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

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

 EScaleCalibrationModel ()
 Constructs a EScaleCalibrationModel. By default parameters are initialized to default unit values.
 EScaleCalibrationModel (float factorX, float factorY, float factorZ)
 Constructs a EScaleCalibrationModel. By default parameters are initialized to default unit values.
 EScaleCalibrationModel (eVision.Easy3D.EScaleCalibrationModel other)
 Constructs a EScaleCalibrationModel. By default parameters are initialized to default unit values.
new void Load (string path)
 Loads the EScaleCalibrationModel calibration model. The given ESerializer must have been created for reading.
new void Load (eVision.ESerializer serializer)
 Loads the EScaleCalibrationModel calibration model. The given ESerializer must have been created for reading.
new void Save (string path)
 Saves the EScaleCalibrationModel calibration model. The given ESerializer must have been created for writing.
new void Save (eVision.ESerializer serializer)
 Saves the EScaleCalibrationModel calibration model. The given ESerializer must have been created for writing.
Public Member Functions inherited from eVision.Easy3D.ECalibrationModel
virtual eVision.Easy3D.E3DPoint Apply (eVision.Easy3D.E3DPoint uvwPoint)
 Applies this model to convert an uncalibrated point to a world position.
void Load (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 (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.

Properties

float FactorX [get]
 Returns the width of a pixel in metric unit.
float FactorY [get]
 Returns the distance between 2 profiles (depth map lines) in metric unit.
float FactorZ [get]
 Returns the scale of the pixel value in metric unit.
override eVision.Easy3D.ECalibrationType Type [get]
 Returns the type of calibration model, see ECalibrationType.
Properties inherited from eVision.Easy3D.ECalibrationModel
virtual eVision.Easy3D.ECalibrationType Type [get]
 Returns the type of calibration model, see ECalibrationType.

Additional Inherited Members

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

Detailed Description

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.

License(s): Easy3D

Constructor & Destructor Documentation

◆ EScaleCalibrationModel() [1/3]

eVision.Easy3D.EScaleCalibrationModel.EScaleCalibrationModel ( )

Constructs a EScaleCalibrationModel. By default parameters are initialized to default unit values.

◆ EScaleCalibrationModel() [2/3]

eVision.Easy3D.EScaleCalibrationModel.EScaleCalibrationModel ( float factorX,
float factorY,
float factorZ )

Constructs a 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).

◆ EScaleCalibrationModel() [3/3]

eVision.Easy3D.EScaleCalibrationModel.EScaleCalibrationModel ( eVision.Easy3D.EScaleCalibrationModel other)

Constructs a EScaleCalibrationModel. By default parameters are initialized to default unit values.

Parameters
otherAnother EScaleCalibrationModel used for the initialization.

Member Function Documentation

◆ Load() [1/2]

new void eVision.Easy3D.EScaleCalibrationModel.Load ( eVision.ESerializer serializer)

Loads the EScaleCalibrationModel calibration model. The given ESerializer must have been created for reading.

Parameters
serializerThe serializer.

◆ Load() [2/2]

new void eVision.Easy3D.EScaleCalibrationModel.Load ( string path)

Loads the EScaleCalibrationModel calibration model. The given ESerializer must have been created for reading.

Parameters
pathThe file path.

◆ Save() [1/2]

new void eVision.Easy3D.EScaleCalibrationModel.Save ( eVision.ESerializer serializer)

Saves the EScaleCalibrationModel calibration model. The given ESerializer must have been created for writing.

Parameters
serializerThe ESerializer object that is written to.

◆ Save() [2/2]

new void eVision.Easy3D.EScaleCalibrationModel.Save ( string path)

Saves the EScaleCalibrationModel calibration model. The given ESerializer must have been created for writing.

Parameters
pathThe file path.

Property Documentation

◆ FactorX

float eVision.Easy3D.EScaleCalibrationModel.FactorX
get

Returns the width of a pixel in metric unit.

◆ FactorY

float eVision.Easy3D.EScaleCalibrationModel.FactorY
get

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

◆ FactorZ

float eVision.Easy3D.EScaleCalibrationModel.FactorZ
get

Returns the scale of the pixel value in metric unit.

◆ Type

override eVision.Easy3D.ECalibrationType eVision.Easy3D.EScaleCalibrationModel.Type
get

Returns the type of calibration model, see ECalibrationType.