Does it has a bug for rs2_project_point_to_pixel function?
Hi,
For rs2_project_point_to_pixel, I am not sure if it is a bug.
Please see the bold comment below.
Thank you.
Yixun
static void rs2_project_point_to_pixel(float pixel[2], const struct rs2_intrinsics * intrin, const float point[3]) float x = point[0] / point[2], y = point[1] / point[2]; if(intrin->model == RS2_DISTORTION_MODIFIED_BROWN_CONRADY) float r2 = x*x + y*y; //the x and y have changed, but the r2 still uses the original x and y. A bug here? pixel[0] = x * intrin->fx + intrin->ppx; |
|
Please sign in to leave a comment.
Comments
0 comments