5 #ifndef LIBREALSENSE_IMAGE_H 6 #define LIBREALSENSE_IMAGE_H 28 void rectify_image (uint8_t * rect_pixels,
const std::vector<int> & rectification_table,
const uint8_t * unrect_pixels,
rs_format format);
30 extern const native_pixel_format
pf_raw8;
31 extern const native_pixel_format
pf_rw10;
32 extern const native_pixel_format
pf_rw16;
33 extern const native_pixel_format
pf_yuy2;
34 extern const native_pixel_format
pf_y8;
35 extern const native_pixel_format
pf_y8i;
36 extern const native_pixel_format
pf_y16;
37 extern const native_pixel_format
pf_y12i;
38 extern const native_pixel_format
pf_z16;
39 extern const native_pixel_format
pf_invz;
void align_other_to_z(byte *other_aligned_to_z, const uint16_t *z_pixels, float z_scale, const rs_intrinsics &z_intrin, const rs_extrinsics &z_to_other, const rs_intrinsics &other_intrin, const byte *other_pixels, rs_format other_format)
const native_pixel_format pf_sr300_invi
const native_pixel_format pf_rw10
GLint GLint GLsizei GLsizei height
const native_pixel_format pf_y8i
void align_disparity_to_other(byte *disparity_aligned_to_other, const uint16_t *disparity_pixels, float disparity_scale, const rs_intrinsics &disparity_intrin, const rs_extrinsics &disparity_to_other, const rs_intrinsics &other_intrin)
const native_pixel_format pf_y12i
int get_image_bpp(rs_format format)
const native_pixel_format pf_y16
void deproject_disparity(float *points, const rs_intrinsics &disparity_intrin, const uint16_t *disparity_pixels, float disparity_scale)
const native_pixel_format pf_y8
GLfixed GLfixed GLint GLint GLfixed points
const native_pixel_format pf_sr300_inzi
void deproject_z(float *points, const rs_intrinsics &z_intrin, const uint16_t *z_pixels, float z_scale)
rs_format
Formats: defines how each stream can be encoded.
std::vector< int > compute_rectification_table(const rs_intrinsics &rect_intrin, const rs_extrinsics &rect_to_unrect, const rs_intrinsics &unrect_intrin)
const native_pixel_format pf_f200_inzi
const native_pixel_format pf_z16
Cross-stream extrinsics: encode the topology describing how the different devices are connected...
const native_pixel_format pf_rw16
void align_z_to_other(byte *z_aligned_to_other, const uint16_t *z_pixels, float z_scale, const rs_intrinsics &z_intrin, const rs_extrinsics &z_to_other, const rs_intrinsics &other_intrin)
void rectify_image(uint8_t *rect_pixels, const std::vector< int > &rectification_table, const uint8_t *unrect_pixels, rs_format format)
GLint GLint GLsizei width
size_t get_image_size(int width, int height, rs_format format)
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
const native_pixel_format pf_yuy2
void align_other_to_disparity(byte *other_aligned_to_disparity, const uint16_t *disparity_pixels, float disparity_scale, const rs_intrinsics &disparity_intrin, const rs_extrinsics &disparity_to_other, const rs_intrinsics &other_intrin, const byte *other_pixels, rs_format other_format)
const native_pixel_format pf_f200_invi
const native_pixel_format pf_invz
const native_pixel_format pf_raw8