|
3DiVi Face SDK
3.28.0
|
A depth map aligned with the original color image.
Correspondence between the coordinates of the original image and depth map is as follows:
let (x; y) be a point on the depth map, then a corresponding point on the original image is
(depth_map_2_image_offset_x + depth_map_2_image_scale_x * x; depth_map_2_image_offset_y + depth_map_2_image_scale_y * y).
More...
#include <DepthMapRaw.h>
Public Attributes | |
| int | depth_map_rows |
| Height of the depth map. | |
| int | depth_map_cols |
| Width of the depth map. | |
| float | depth_map_2_image_offset_x |
| Parameter of correspondence between the coordinates of the original image and depth map. | |
| float | depth_map_2_image_offset_y |
| Parameter of correspondence between the coordinates of the original image and depth map. | |
| float | depth_map_2_image_scale_x |
| Parameter of correspondence between the coordinates of the original image and depth map. | |
| float | depth_map_2_image_scale_y |
| Parameter of correspondence between the coordinates of the original image and depth map. | |
| float | horizontal_fov |
| The horizontal viewing angle of the depth map in degrees. | |
| float | vertical_fov |
| The vertical viewing angle of the depth map in degrees. | |
| float | depth_unit_in_millimeters |
| Scale of values stored in the depth_data. | |
| uint16_t const * | depth_data |
| Pointer to the depth raw data. | |
| int | depth_data_stride_in_bytes |
| Stride in bytes. | |
A depth map aligned with the original color image.
Correspondence between the coordinates of the original image and depth map is as follows:
let (x; y) be a point on the depth map, then a corresponding point on the original image is
(depth_map_2_image_offset_x + depth_map_2_image_scale_x * x; depth_map_2_image_offset_y + depth_map_2_image_scale_y * y).