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

D415/D435 RGB image is not rectified at rsutil.h #837

Closed
TetsuriSonoda opened this issue Nov 20, 2017 · 6 comments
Closed

D415/D435 RGB image is not rectified at rsutil.h #837

TetsuriSonoda opened this issue Nov 20, 2017 · 6 comments

Comments

@TetsuriSonoda
Copy link
Contributor

rs-align example with D415 and D435 is causing offset between color and depth.

On librealsense, D435 and D415 will return its distortion model as RS2_DISTORTION_BROWN_CONRADY.
But this distortion model is not handled at rs2_project_point_to_pixel in rsutil.h
(Only handled RS2_DISTORTION_MODIFIED_BROWN_CONRADY and RS2_DISTORTION_FTHETA).
I think it needs to be undistorted at there.

Required Info
Camera Model D415 and D435
Firmware Version 05.08.05.00
Operating System & Version Windows8
Kernel Version (Linux Only)
@cynosure4sure
Copy link

Are D415 and D435 available for purchase?

@halton
Copy link

halton commented Nov 27, 2017

https://click.intel.com/intelr-realsensetm-depth-camera-d415.html, out-of-stock

@danielw256
Copy link

I will need rectified images and depth, too. Please fix.

@ev-mp
Copy link
Collaborator

ev-mp commented Nov 27, 2017

Hi @TetsuriSonoda , The depth images received from the device are already rectified with RS2_DISTORTION_BROWN_CONRADY model. Therefore rs2_project_point_to_pixel will just pass them through directly without any additional rectifications.

@TetsuriSonoda
Copy link
Contributor Author

Hi, @ev-mp , this issue not about depth image, but RGB image side.
For aligned depth image to RGB, we need "rectified RGB" image with proper undistortion.
But such image is not provided correctly by librealsense2 now.

@karlita101
Copy link

Hi, @ev-mp , this issue not about depth image, but RGB image side.
For aligned depth image to RGB, we need "rectified RGB" image with proper undistortion.
But such image is not provided correctly by librealsense2 now.

Would it be possible to get further clarification on why the RGB are not undistorted ( my understanding is that if the coefficients are set 2 zero, no undistortion is taking place).

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

No branches or pull requests

7 participants