14 namespace depth_to_rgb_calibration {
46 , h_scale( obj.h_scale )
47 , v_scale( obj.v_scale )
48 , h_offset( obj.h_offset )
49 , v_offset( obj.v_offset )
50 , rtd_offset( obj.rtd_offset )
74 static const int table_id = 0x313;
85 float FRMWprojectionYshear[5];
103 float FRMWpolyVars[3];
108 float FRMWdfzVbias[3];
109 float FRMWdfzIbias[3];
117 float FRMWundistAngHorz[4];
118 float FRMWundistAngVert[4];
120 float FRMWfovexNominal[4];
122 float FRMWfovexRadialK[3];
123 float FRMWfovexTangentP[2];
124 float FRMWfovexCenter[2];
179 const double& max_scaling_step);
190 const algo_calibration_registers& algo_calibration_registers,
192 const std::vector<uint8_t>& relevant_pixels_image,
200 std::vector<double3>& new_vertices,
202 algo_calibration_registers& new_dsm_regs,
211 double2 convert_k_to_los_error(
213 algo_calibration_registers
const &dsm_regs,
219 const algo_calibration_registers& dsm_regs,
222 double2 run_scaling_optimization_step(
224 algo_calibration_registers
const &dsm_regs,
225 double scaling_grid_x[SIZE_OF_GRID_X],
226 double scaling_grid_y[SIZE_OF_GRID_X],
230 std::vector<double3x3> optimize_k_under_los_error(
232 algo_calibration_registers
const &dsm_regs,
233 double scaling_grid_x[25],
234 double scaling_grid_y[25] );
236 std::vector<double3> convert_los_to_norm_vertices(
238 algo_calibration_registers
const &dsm_regs,
239 std::vector<double2> los,
242 std::vector<double3> calc_relevant_vertices(
const std::vector<uint8_t>& relevant_pixels_image,
246 const algo_calibration_registers& algo_calibration_registers,
247 std::vector<double3>
const &
vertices,
251 std::vector< double3 > transform_to_direction( std::vector< double3 >
const & );
algo::depth_to_rgb_calibration::algo_calibration_info _regs
uint32_t FRMWconfigVersion
static const int SIZE_OF_GRID_X
float FRMWlosAtMirrorRestHorz
los_shift_scaling last_los_error
uint32_t FRMWcalibVersion
Video DSM (Digital Sync Module) parameters for calibration (same layout as in FW ac_depth_params) Thi...
algo::depth_to_rgb_calibration::algo_calibration_registers _dsm_regs
std::vector< double3 > vertices_orig
std::vector< double2 > los_orig
uint8_t FRMWfovexExistenceFlag
std::vector< uint8_t > relevant_pixels_image_rot
uint32_t EXTLconLocDelayFastC
float FRMWconLocDelaySlowSlope
uint32_t FRMWeepromVersion
float FRMWlosAtMirrorRestVert
uint8_t FRMWfovexLensDistFlag
Exposes RealSense structs.
float FRMWhumidApdTempDiff
float FRMWconLocDelayFastSlope
rs2_dsm_correction_model model
algo_calibration_registers const & get_calibration_registers() const
float FRMWdfzCalibrationVddVal
algo_calibration_info const & get_calibration_info() const
rs2_intrinsics_double orig_k
void copy_to(rs2_dsm_params &o)
uint32_t EXTLconLocDelaySlow
rs2_dsm_params_double(rs2_dsm_params const &obj)
static const struct @18 vertices[3]
pre_process_data _pre_process_data
std::ostream & operator<<(std::ostream &, rs2_dsm_params_double const &)
static const int SIZE_OF_GRID_Y
uint32_t EXTLconLocDelayFastF
float FRMWdfzCalibrationLddTemp