3DiVi Face SDK  3.21.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Groups
pbio::DepthMapRaw Struct Reference

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.
 

Detailed Description

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