Time-of-Flight Library(ToF)  3.2.2
mixed_pixel_lut.h
1 #ifndef _CHRONOPTICS_TOF_MIXED_PIXEL_LUT_H_
2 #define _CHRONOPTICS_TOF_MIXED_PIXEL_LUT_H_
3 
4 #include <chronoptics/tof/error.h>
5 
6 #ifdef __cplusplus
7 extern "C" {
8 #endif
9 
10 /** Mixed Pixel Comression Function enum. The mixed pixel lookup table contains
11  * more useful information in some parts of the table then others. We can
12  * compress the less useful information by taking the sqrt() or log() of the
13  * table. Currently only the sqrt() is implimented.
14  */
15 enum tof_mp_lut_compression {
16  TOF_MP_LUT_COMPRESSION_NONE = 0, /** No compression function is used */
17  TOF_MP_LUT_COMPRESSION_SQRT = 1, /** The sqrt function is used */
18  TOF_MP_LUT_COMPRESSION_LOG2 = 2, /** The natural log */
19  TOF_MP_LUT_COMPRESSION_LOG10 = 3, /** Use log10 */
20  TOF_MP_LUT_COMPRESSION_BINARY = 4, /** Knocking out binary bits to compress the table */
21 };
22 
23 #ifdef __cplusplus
24 }
25 #endif
26 
27 #endif