12 namespace depth_to_rgb_calibration {
16 std::vector<double>
const & d_vals,
17 z_frame_data
const & z_data,
18 yuy2_frame_data
const & yuy_data,std::function<
void(
size_t i,
double d_val,
double weight,
double vertex_cost ) > fn
22 z_frame_data
const & z_data,
23 yuy2_frame_data
const & yuy_data,
29 const z_frame_data & z_data,
30 const yuy2_frame_data & yuy_data,
32 std::vector< double > * p_interpolated_edges =
nullptr
std::vector< double2 > uvmap_t
std::vector< double > calc_cost_per_vertex(std::vector< double > const &d_vals, z_frame_data const &z_data, yuy2_frame_data const &yuy_data, std::function< void(size_t i, double d_val, double weight, double vertex_cost) > fn)
GLuint GLuint GLfloat weight
double calc_cost_per_vertex_diff(z_frame_data const &z_data, yuy2_frame_data const &yuy_data, const uvmap_t &uvmap_old, const uvmap_t &uvmap_new)
double calc_cost(const z_frame_data &z_data, const yuy2_frame_data &yuy_data, const std::vector< double2 > &uv, std::vector< double > *p_interpolated_edges)