How to connect Intel Real Sense with Matlab??
77 views (last 30 days)
Alexandre Soares da Silva on 16 Nov 2018
Hi. I developed with a group a small sr300 app for Matlab. It uses the previous SDK (1.0) and I heard back from an user that the depth projectio is misplaced. Since the streams (RGB, infrared, depth) code works, it might be a good start for you (I didn't develop the RGB stream code, but I know it requires a bit of manipulation to be unwrapped on the screen). Here it is: https://github.com/alexandresoaresilva/MATLABrealsense
More Answers (3)
Madhura Suresh on 16 Sep 2016
Support for Intel RealSense is being considered for a future release of MATLAB.
Maarten Jansen on 14 Mar 2017
I am using Intel Real Sense sr300 camera. I can read out the depth camera, but it is not clear what the images represent exactly. For a 640x480 depth image the raw data contains a 1280x960x3 data matrix: In a single snapshot 4 camera datasets are captured in a single matrix (2x2 views), 2 images represent depth information and 2 images seem to representing what looks like a grayscale image.
However there seem to be some bitshifts. The depth images seem to be wrapped, indicating that some bitplanes are misplaced. High intensity grayscale values are also wrapped.
Only looking at the wrapped depth images the depth noise seems to be very promising. So I hope to do some fun stuff with this camera, but I first have to solve the decoding problem of the raw images.
Any help is welcome...
cr on 17 Jun 2019
Realsense cameras (atleast the one I got -SR300) have various channels. E.g. vir = videoinput('winvideo', 3, 'INVZ16_640x480') gives me access to IR channel. IMAQ toolbox with generic OS webcam hardware addon.