Items with no label
3338 토론

To convert RGB information of depth obtained from D415 to corresponding depth information

SG_R
초급자
2,697 조회수

I have obtained depth image in .png format using real sense camera . I would like to read the actual depth values associated with each pixel using matlab. What i get to see is only the RGB (colour map corresponding to depth) values when displayed in matlab. Please instruct on how to convert the RGB values to depth information.

0 포인트
1 솔루션
MartyG
명예로운 기여자 III
691 조회수

If you were just using the RealSense SDK to do the conversion then the procedure would be relatively straightforward.

 

https://github.com/IntelRealSense/librealsense/issues/2200

 

The need to do it with MATLAB is a complicating factor though. RealSense SDK functions can be interfaced with through the SDK's MATLAB wrapper if you are using Windows, though the number of example programs available for the wrapper is currently limited and so I do not have an example of how to get the depth values from the pixels of a PNG via the wrapper.

 

https://github.com/IntelRealSense/librealsense/tree/master/wrappers/matlab

 

원본 게시물의 솔루션 보기

0 포인트
4 응답
MartyG
명예로운 기여자 III
691 조회수

There is a product for MATLAB called the Image Processing Toolbox. It is not inexpensive, though it does have a 30 day free trial.

 

https://uk.mathworks.com/products/image.html

0 포인트
SG_R
초급자
691 조회수

I would like to clarify . The depth image obtained from real sense is in RGB format. How to convert that to actual depth information ? that is my query. My working platform is MATLAB.

0 포인트
MartyG
명예로운 기여자 III
692 조회수

If you were just using the RealSense SDK to do the conversion then the procedure would be relatively straightforward.

 

https://github.com/IntelRealSense/librealsense/issues/2200

 

The need to do it with MATLAB is a complicating factor though. RealSense SDK functions can be interfaced with through the SDK's MATLAB wrapper if you are using Windows, though the number of example programs available for the wrapper is currently limited and so I do not have an example of how to get the depth values from the pixels of a PNG via the wrapper.

 

https://github.com/IntelRealSense/librealsense/tree/master/wrappers/matlab

 

0 포인트
SG_R
초급자
691 조회수
Thank you...I shall try it out using real sense SDK On Thu 20 Dec, 2018, 15:41 Intel Forums <supportreplies@intel.com wrote:
0 포인트
응답