- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There is a product for MATLAB called the Image Processing Toolbox. It is not inexpensive, though it does have a 30 day free trial.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
![](/skins/images/7B0AB6865064EAE32B30EC9A4E94B48A/responsive_peak/images/icon_anonymous_message.png)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page