Documentation Portal      

What are you looking for?

Calibration

The calibration is used to apply the transformation between a depth map and a point cloud or a mesh.

There are 3 ways to setup this conversion:

Apply a simple scale on the pixel coordinates of the depth map (EScaleCalibrationModel class)
Use the explicit geometric model (EExplicitGeometricCalibrationModel class)
Use the object-based calibration approach (EObjectBasedCalibrationModel class)

These models share the same base class ECalibrationModel and exposes the method Apply(), which is used to apply the conversion between a depth map pixel and a 3D point. It takes as input the coordinates of one point in a depth map and it returns the coordinates of the corresponding point in the 3D space.

The method Apply is not aware of the possible mirroring of the corresponding depth map and cannot make use of EDepthMap::EAxisSystemType (see below). If necessary (when the corresponding depth map is vertically mirrored) the y coordinates should be flipped before calling the Apply method.

The class EDepthMapToPointCloudConverter generates a point cloud from a depth map, using one of the calibration models.
The class EDepthMapToMeshConverter generates a mesh from a depth map, using one of the calibration models.

By convention:

The origin of the referential is the lower-left corner of the depth map.
The center of the first pixel at the lower-left corner is at x = 0.5 and y = 0.5.
The center of the pixel at the upper-right corner is at x = width - 0.5 and y = height - 0.5 where width is the width of the depth map and height is its height.

Which API shall we display?

© 2018 EURESYS s.a.  -  About Documentation  -  Open Source Licenses  -  Open eVision 2.6.1.1110