This class contains all the calibration information.  
 More...
#include <calibration.hpp>
This class contains all the calibration information. 
Definition at line 13 of file calibration.hpp.
 
◆ Calibration() [1/2]
  
  
      
        
          | chronoptics::tof::Calibration::Calibration  | 
          ( | 
          tof_calibration_t  | 
          ptr = nullptr | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ Calibration() [2/2]
  
  
      
        
          | chronoptics::tof::Calibration::Calibration  | 
          ( | 
          StringView  | 
          file_location | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Read calibration from disk. 
- Parameters
 - 
  
    | file_location | Location of calibration file  | 
  
   
Definition at line 23 of file calibration.hpp.
 
 
◆ get_calibrated_frequencies()
  
  
      
        
          | std::vector< float > chronoptics::tof::Calibration::get_calibrated_frequencies  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
The the calibrated frequencies in the calibration file. 
- Returns
 - The calibrated modulation frequencies 
 
Definition at line 37 of file calibration.hpp.
 
 
◆ get_depth_camera_matrix()
  
  
      
        
          | std::array< double, 9 > chronoptics::tof::Calibration::get_depth_camera_matrix  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Get the camera matrix of the depth sensor and lens. 
- Returns
 - Camera matrix, 3x3 matrix 
 
Definition at line 75 of file calibration.hpp.
 
 
◆ get_depth_distortion_coefficients()
  
  
      
        
          | std::array< double, 5 > chronoptics::tof::Calibration::get_depth_distortion_coefficients  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Get the distortion coefficients of the depth lens. 
- Returns
 - Distortion coefficients, 5x1 matrix 
 
Definition at line 85 of file calibration.hpp.
 
 
◆ get_focal_length_x()
  
  
      
        
          | double chronoptics::tof::Calibration::get_focal_length_x  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Get focal length x. 
- Returns
 - Focal length 
 
Definition at line 47 of file calibration.hpp.
 
 
◆ get_focal_length_y()
  
  
      
        
          | double chronoptics::tof::Calibration::get_focal_length_y  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Get focal length y. 
- Returns
 - Focal length 
 
Definition at line 54 of file calibration.hpp.
 
 
◆ get_principal_point_x()
  
  
      
        
          | double chronoptics::tof::Calibration::get_principal_point_x  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Get principal point x. 
- Returns
 - Principal point 
 
Definition at line 61 of file calibration.hpp.
 
 
◆ get_principal_point_y()
  
  
      
        
          | double chronoptics::tof::Calibration::get_principal_point_y  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Get principal point y. 
- Returns
 - Principal point 
 
Definition at line 68 of file calibration.hpp.
 
 
◆ get_rgb_camera_matrix()
  
  
      
        
          | std::array< double, 9 > chronoptics::tof::Calibration::get_rgb_camera_matrix  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Get the camera matrix of the rgb sensor and lens. 
- Returns
 - Camera matrix, 3x3 matrix 
 
Definition at line 95 of file calibration.hpp.
 
 
◆ get_rgb_distortion_coefficients()
  
  
      
        
          | std::array< double, 5 > chronoptics::tof::Calibration::get_rgb_distortion_coefficients  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Get the distortion coefficients of the rgb lens. 
- Returns
 - Distortion coefficients, 5x1 matrix 
 
Definition at line 105 of file calibration.hpp.
 
 
◆ write()
  
  
      
        
          | void chronoptics::tof::Calibration::write  | 
          ( | 
          StringView  | 
          file_location | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Write calibration to disk. 
- Parameters
 - 
  
    | file_location | Location to save the calibration file to  | 
  
   
Definition at line 30 of file calibration.hpp.