Skip to content

Add function for projecting color to depth#2265

Merged
dorodnic merged 3 commits into
realsenseai:developmentfrom
belkinirena:project_color2depth
Aug 21, 2018
Merged

Add function for projecting color to depth#2265
dorodnic merged 3 commits into
realsenseai:developmentfrom
belkinirena:project_color2depth

Conversation

@belkinirena

Copy link
Copy Markdown
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 realsenseai: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