Items with no label
3335 Discussions

how to use rs2_project_point_to_pixel( ) ?

ycao6
New Contributor I
3,845 Views

I have known how to use rs2_deproject_pixel_to_point() , but I have some questions about rs2_project_point_to_pixel( ).

rs2_project_point_to_pixel(intrinsics, [x, x, x]) works in my python program and it returns a pixel coordinate. Here is the question ,what is the unit of the point coordinate [x,x,x]? meter? centimetre?or millimetre?

Thank you for your help !!

0 Kudos
1 Solution
ycao6
New Contributor I
2,775 Views

I get it , it's meter , I use the point coordinate converted from a pixel , the function returns the same pixel coordinate, and the point coordinate is in meters.

View solution in original post

0 Kudos
1 Reply
ycao6
New Contributor I
2,776 Views

I get it , it's meter , I use the point coordinate converted from a pixel , the function returns the same pixel coordinate, and the point coordinate is in meters.

0 Kudos
Reply