Go to the source code of this file.
Functions | |
| static void | rs2_project_point_to_pixel (float pixel[2], const struct rs2_intrinsics *intrin, const float point[3]) |
| static void | rs2_deproject_pixel_to_point (float point[3], const struct rs2_intrinsics *intrin, const float pixel[2], float depth) |
| static void | rs2_transform_point_to_point (float to_point[3], const struct rs2_extrinsics *extrin, const float from_point[3]) |
| static void | rs2_fov (const struct rs2_intrinsics *intrin, float to_fov[2]) |
| static void | next_pixel_in_line (float curr[2], const float start[2], const float end[2]) |
| static bool | is_pixel_in_line (const float curr[2], const float start[2], const float end[2]) |
| static void | adjust_2D_point_to_boundary (float p[2], int width, int height) |
| static void | rs2_project_color_pixel_to_depth_pixel (float to_pixel[2], const uint16_t *data, float depth_scale, float depth_min, float depth_max, const struct rs2_intrinsics *depth_intrin, const struct rs2_intrinsics *color_intrin, const struct rs2_extrinsics *color_to_depth, const struct rs2_extrinsics *depth_to_color, const float from_pixel[2]) |
|
static |
Definition at line 203 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/rsutil.h.
References width.
Referenced by rs2_project_color_pixel_to_depth_pixel().
|
static |
Definition at line 197 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/rsutil.h.
References pydeepstreamdoc::osd::ArrowHeadDoc::end, and pydeepstreamdoc::osd::ArrowHeadDoc::start.
Referenced by rs2_project_color_pixel_to_depth_pixel().
|
static |
Definition at line 182 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/rsutil.h.
References pydeepstreamdoc::osd::ArrowHeadDoc::end, fabs(), and pydeepstreamdoc::osd::ArrowHeadDoc::start.
Referenced by rs2_project_color_pixel_to_depth_pixel().
|
static |
Definition at line 83 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/rsutil.h.
References half_float::atan(), rs2_intrinsics::coeffs, fabs(), rs2_intrinsics::fx, rs2_intrinsics::fy, rs2_intrinsics::model, rs2_intrinsics::ppx, rs2_intrinsics::ppy, RS2_DISTORTION_BROWN_CONRADY, RS2_DISTORTION_FTHETA, RS2_DISTORTION_INVERSE_BROWN_CONRADY, RS2_DISTORTION_KANNALA_BRANDT4, RS2_DISTORTION_MODIFIED_BROWN_CONRADY, and half_float::tan().
Referenced by rs2_project_color_pixel_to_depth_pixel().
|
static |
Definition at line 176 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/rsutil.h.
References rs2_intrinsics::fx, rs2_intrinsics::fy, rs2_intrinsics::height, rs2_intrinsics::ppx, rs2_intrinsics::ppy, and rs2_intrinsics::width.
|
static |
Definition at line 212 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/rsutil.h.
References adjust_2D_point_to_boundary(), data, rs2_intrinsics::height, is_pixel_in_line(), next_pixel_in_line(), half_float::pow(), rs2_deproject_pixel_to_point(), rs2_project_point_to_pixel(), rs2_transform_point_to_point(), and rs2_intrinsics::width.
|
static |
Definition at line 19 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/rsutil.h.
References half_float::atan(), rs2_intrinsics::coeffs, rs2_intrinsics::fx, rs2_intrinsics::fy, rs2_intrinsics::model, rs2_intrinsics::ppx, rs2_intrinsics::ppy, RS2_DISTORTION_BROWN_CONRADY, RS2_DISTORTION_FTHETA, RS2_DISTORTION_INVERSE_BROWN_CONRADY, RS2_DISTORTION_KANNALA_BRANDT4, RS2_DISTORTION_MODIFIED_BROWN_CONRADY, and half_float::tan().
Referenced by rs2_project_color_pixel_to_depth_pixel().
|
static |
Definition at line 168 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/rsutil.h.
References rs2_extrinsics::rotation, and rs2_extrinsics::translation.
Referenced by rs2_project_color_pixel_to_depth_pixel().