D415/D435 RGB image is not rectified at rsutil.h
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) |
Are D415 and D435 available for purchase?
https://click.intel.com/intelr-realsensetm-depth-camera-d415.html, out-of-stock
I will need rectified images and depth, too. Please fix.
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.
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.
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).