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

Add function for projecting color to depth #2265

Merged
merged 3 commits into from
Aug 21, 2018

Conversation

belkinirena
Copy link
Contributor

Added function in rsutil.h file: rs2_project_color_pixel_to_depth_pixel(...)

Short description of the function:
With the received depth range and the color pixel, the function creates a list of potential depth pixels (a line in the depth image). The function searches along the line the most compatible depth pixel, the depth pixel that it's projected color pixel is the closest to the original pixel.

@dorodnic dorodnic merged commit ca502ea into IntelRealSense:development Aug 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants