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

An IR frame aligned with an original color image.
Correspondence between the coordinates of the original image and the IR frame is as follows:
    let (x; y) be a point on the IR frame, then a corresponding point on the original image is
    (ir_frame_2_image_offset_x + ir_frame_image_2_scale_x * x; ir_frame_2_image_offset_y + ir_frame_2_image_scale_y * y). More...

#include <IRFrameRaw.h>

Public Attributes

int ir_frame_rows
 Height of an IR frame.
 
int ir_frame_cols
 Width of an IR frame.
 
float ir_frame_2_image_offset_x
 Parameter of correspondence between the coordinates of an original image and an IR frame.
 
float ir_frame_2_image_offset_y
 Parameter of correspondence between the coordinates of an original image and an IR frame.
 
float ir_frame_2_image_scale_x
 Parameter of correspondence between the coordinates of an original image and an IR frame.
 
float ir_frame_2_image_scale_y
 Parameter of correspondence between the coordinates of an original image and an IR frame.
 
float ir_horizontal_fov
 The horizontal viewing angle of an IR frame in degrees.
 
float ir_vertical_fov
 The vertical viewing angle of an IR frame in degrees.
 
uint16_t const * ir_frame_data
 Pointer to IR data.
 
int32_t ir_data_stride_in_bytes
 Stride in bytes.
 

Detailed Description

An IR frame aligned with an original color image.
Correspondence between the coordinates of the original image and the IR frame is as follows:
    let (x; y) be a point on the IR frame, then a corresponding point on the original image is
    (ir_frame_2_image_offset_x + ir_frame_image_2_scale_x * x; ir_frame_2_image_offset_y + ir_frame_2_image_scale_y * y).