Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regarding rs2_project_color_pixel_to_depth_pixel #5766

Closed
lokeshgs87 opened this issue Feb 3, 2020 · 7 comments
Closed

Regarding rs2_project_color_pixel_to_depth_pixel #5766

lokeshgs87 opened this issue Feb 3, 2020 · 7 comments

Comments

@lokeshgs87
Copy link

Hi @kafan1986

The following is the URL which is written in python: #5603

Can you please help us to get the following details in android

depth_intrin
color_intrin
depth_to_color_extrin
color_to_depth_extrin

and also following functions (to convert color pixel to depth )

rs2_deproject_pixel_to_point
rs2_transform_point_to_point
rs2_project_point_to_pixel

@ev-mp ev-mp added the android label Feb 3, 2020
@kafan1986
Copy link

Hi @kafan1986

The following is the URL which is written in python: #5603

Can you please help us to get the following details in android

depth_intrin
color_intrin
depth_to_color_extrin
color_to_depth_extrin

and also following functions (to convert color pixel to depth )

rs2_deproject_pixel_to_point
rs2_transform_point_to_point
rs2_project_point_to_pixel

These native APIs are not exposed with the current Android librealsense SDK. You need to write your own wrapper in native code and call that via JNI.

@RealSenseCustomerSupport
Copy link
Collaborator


@lokeshgs87 Have submitted your requirement to our engineering team. Any update will let you know. Thanks!

@RealSenseSupport
Copy link
Collaborator

RealSenseSupport commented Aug 21, 2020

@lokeshgs87 Android intrisic and extrinsic API now added to the Android wrapper in PR #6594

depth_intrin
color_intrin
depth_to_color_extrin
color_to_depth_extrin

Below API was also added by PR #6818

rs2_deproject_pixel_to_point
rs2_transform_point_to_point
rs2_project_point_to_pixel

Please have a try and feedback to us. Thanks!

@RealSenseSupport
Copy link
Collaborator

@lokeshgs87 PR #6594 and PR #6818 now merged into the latest SDK v2.38.1. Looking forward to your test update. Thanks!

@RealSenseSupport
Copy link
Collaborator

@lokeshgs87 Did you get chance to try SDK v2.38.1? Looking forward to your update. Thanks!

@RealSenseSupport
Copy link
Collaborator

@lokeshgs87 Sorry that we didn't get response from you for weeks. As the feature already implemented, we'll close this at this point. Any issue or question please feel free to create another new ticket. Thanks!

@Tikitaka02
Copy link

Hello, I would like to know how to call the function in Android studio. Is it equivalent to rs2_project_color_pixel_to_depth_pixel?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants