Public Member Functions | Private Member Functions | Private Attributes | List of all members
librealsense::depth_to_rgb_calibration Class Reference

#include <depth-to-rgb-calibration.h>

Public Member Functions

 depth_to_rgb_calibration (algo::depth_to_rgb_calibration::optimizer::settings const &settings, rs2::frame depth, rs2::frame ir, rs2::frame yuy, rs2::frame prev_yuy, std::vector< algo::depth_to_rgb_calibration::yuy_t > const &last_yuy_data, algo::depth_to_rgb_calibration::algo_calibration_info const &cal_info, algo::depth_to_rgb_calibration::algo_calibration_registers const &cal_regs, rs2_intrinsics const &yuy_intrinsics, algo::thermal_loop::thermal_calibration_table_interface const &, std::function< void()> should_continue=nullptr)
 
rs2_dsm_params const & get_dsm_params () const
 
rs2_extrinsics const & get_extrinsics () const
 
stream_profile_interfaceget_from_profile () const
 
std::vector< algo::depth_to_rgb_calibration::yuy_t > & get_last_successful_frame_data ()
 
rs2_intrinsics const & get_raw_intrinsics () const
 
rs2_intrinsics const & get_thermal_intrinsics () const
 
stream_profile_interfaceget_to_profile () const
 
rs2_calibration_status optimize (std::function< void(rs2_calibration_status)> call_back=nullptr)
 
void write_data_to (std::string const &dir)
 

Private Member Functions

void debug_calibration (char const *prefix)
 

Private Attributes

algo::depth_to_rgb_calibration::optimizer _algo
 
rs2_dsm_params _dsm_params
 
rs2_extrinsics _extr
 
stream_profile_interface *const _from
 
std::vector< algo::depth_to_rgb_calibration::yuy_t_last_successful_frame_data
 
rs2_intrinsics _raw_intr
 
std::function< void()> _should_continue
 
rs2_intrinsics _thermal_intr
 
algo::thermal_loop::thermal_calibration_table_interface const & _thermal_table
 
stream_profile_interface *const _to
 

Detailed Description

Definition at line 19 of file depth-to-rgb-calibration.h.

Constructor & Destructor Documentation

depth_to_rgb_calibration::depth_to_rgb_calibration ( algo::depth_to_rgb_calibration::optimizer::settings const &  settings,
rs2::frame  depth,
rs2::frame  ir,
rs2::frame  yuy,
rs2::frame  prev_yuy,
std::vector< algo::depth_to_rgb_calibration::yuy_t > const &  last_yuy_data,
algo::depth_to_rgb_calibration::algo_calibration_info const &  cal_info,
algo::depth_to_rgb_calibration::algo_calibration_registers const &  cal_regs,
rs2_intrinsics const &  yuy_intrinsics,
algo::thermal_loop::thermal_calibration_table_interface const &  ,
std::function< void()>  should_continue = nullptr 
)

Definition at line 21 of file depth-to-rgb-calibration.cpp.

Member Function Documentation

void depth_to_rgb_calibration::debug_calibration ( char const *  prefix)
private

Definition at line 213 of file depth-to-rgb-calibration.cpp.

rs2_dsm_params const& librealsense::depth_to_rgb_calibration::get_dsm_params ( ) const
inline

Definition at line 55 of file depth-to-rgb-calibration.h.

rs2_extrinsics const& librealsense::depth_to_rgb_calibration::get_extrinsics ( ) const
inline

Definition at line 50 of file depth-to-rgb-calibration.h.

stream_profile_interface* librealsense::depth_to_rgb_calibration::get_from_profile ( ) const
inline

Definition at line 53 of file depth-to-rgb-calibration.h.

std::vector< algo::depth_to_rgb_calibration::yuy_t >& librealsense::depth_to_rgb_calibration::get_last_successful_frame_data ( )
inline

Definition at line 56 of file depth-to-rgb-calibration.h.

rs2_intrinsics const& librealsense::depth_to_rgb_calibration::get_raw_intrinsics ( ) const
inline

Definition at line 51 of file depth-to-rgb-calibration.h.

rs2_intrinsics const& librealsense::depth_to_rgb_calibration::get_thermal_intrinsics ( ) const
inline

Definition at line 52 of file depth-to-rgb-calibration.h.

stream_profile_interface* librealsense::depth_to_rgb_calibration::get_to_profile ( ) const
inline

Definition at line 54 of file depth-to-rgb-calibration.h.

rs2_calibration_status depth_to_rgb_calibration::optimize ( std::function< void(rs2_calibration_status)>  call_back = nullptr)

Definition at line 123 of file depth-to-rgb-calibration.cpp.

void depth_to_rgb_calibration::write_data_to ( std::string const &  dir)

Definition at line 109 of file depth-to-rgb-calibration.cpp.

Member Data Documentation

algo::depth_to_rgb_calibration::optimizer librealsense::depth_to_rgb_calibration::_algo
private

Definition at line 32 of file depth-to-rgb-calibration.h.

rs2_dsm_params librealsense::depth_to_rgb_calibration::_dsm_params
private

Definition at line 29 of file depth-to-rgb-calibration.h.

rs2_extrinsics librealsense::depth_to_rgb_calibration::_extr
private

Definition at line 26 of file depth-to-rgb-calibration.h.

stream_profile_interface* const librealsense::depth_to_rgb_calibration::_from
private

Definition at line 22 of file depth-to-rgb-calibration.h.

std::vector< algo::depth_to_rgb_calibration::yuy_t > librealsense::depth_to_rgb_calibration::_last_successful_frame_data
private

Definition at line 30 of file depth-to-rgb-calibration.h.

rs2_intrinsics librealsense::depth_to_rgb_calibration::_raw_intr
private

Definition at line 27 of file depth-to-rgb-calibration.h.

std::function<void()> librealsense::depth_to_rgb_calibration::_should_continue
private

Definition at line 33 of file depth-to-rgb-calibration.h.

rs2_intrinsics librealsense::depth_to_rgb_calibration::_thermal_intr
private

Definition at line 28 of file depth-to-rgb-calibration.h.

algo::thermal_loop::thermal_calibration_table_interface const& librealsense::depth_to_rgb_calibration::_thermal_table
private

Definition at line 31 of file depth-to-rgb-calibration.h.

stream_profile_interface* const librealsense::depth_to_rgb_calibration::_to
private

Definition at line 23 of file depth-to-rgb-calibration.h.


The documentation for this class was generated from the following files:


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:37