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