17 inline void align_depth_to_other(
const uint16_t* z_pixels,
28 void pre_compute_x_y_map_corners();
35 std::vector<float> _pre_compute_map_x_top_left;
36 std::vector<float> _pre_compute_map_y_top_left;
37 std::vector<float> _pre_compute_map_x_bottom_right;
38 std::vector<float> _pre_compute_map_y_bottom_right;
40 std::vector<int2> _pixel_top_left_int;
41 std::vector<int2> _pixel_bottom_right_int;
43 void pre_compute_x_y_map(std::vector<float>& pre_compute_map_x,
44 std::vector<float>& pre_compute_map_y,
47 template<rs2_distortion dist = RS2_DISTORTION_NONE>
48 inline void align_depth_to_other_sse(
const uint16_t* z_pixels,
53 template<rs2_distortion dist = RS2_DISTORTION_NONE>
54 inline void align_other_to_depth_sse(
const uint16_t* z_pixels,
59 inline void move_depth_to_other(
const uint16_t* z_pixels,
61 const std::vector<int2>& pixel_top_left_int,
62 const std::vector<int2>& pixel_bottom_right_int);
65 inline void move_other_to_depth(
const uint16_t* z_pixels,
68 const std::vector<int2>& pixel_top_left_int,
69 const std::vector<int2>& pixel_bottom_right_int);
73 class align_sse :
public align 86 std::shared_ptr<image_transform> _stream_transform;
GLint GLint GLsizei GLsizei GLsizei depth
rs2_stream
Streams are different types of data provided by RealSense devices.
Cross-stream extrinsics: encodes the topology describing how the different devices are oriented...
GLsizei GLsizei GLchar * source
void align_other_to_depth(byte *other_aligned_to_depth, GET_DEPTH get_depth, const rs2_intrinsics &depth_intrin, const rs2_extrinsics &depth_to_other, const rs2_intrinsics &other_intrin, const byte *other_pixels, rs2_format other_format)