Items with no label
3335 Discussions

How to stream depth and color video from a d435 depth camera on Matlab?

EAlta
Beginner
2,483 Views

I´m triying to get the depth and color stream from a d435 depth camera on matlab.

I have already tried the "depth_example.m" from github, but it only returns an image (not the stream).

0 Kudos
1 Solution
idata
Employee
880 Views

Hi edgar.altamirano,

Thank you for your interest in the Intel RealSense D435 camera.

 

Intel released an unofficial pointcloud example that provides the live stream from any RealSense D400 camera in Matlab.

 

You can find it here:

 

/community/tech/realsense/blog/2018/10/03/unofficial-pointcloud-stream-viewer-in-matlab https://communities.intel.com/community/tech/realsense/blog/2018/10/03/unofficial-pointcloud-stream-viewer-in-matlab

The RealSense is still working on an example for how to color a pointcloud in Matlab.

 

In order to get the video stream, you have to get the Image Acquisition Toolbox:

 

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

Regards,

 

Alexandra

 

View solution in original post

3 Replies
idata
Employee
881 Views

Hi edgar.altamirano,

Thank you for your interest in the Intel RealSense D435 camera.

 

Intel released an unofficial pointcloud example that provides the live stream from any RealSense D400 camera in Matlab.

 

You can find it here:

 

/community/tech/realsense/blog/2018/10/03/unofficial-pointcloud-stream-viewer-in-matlab https://communities.intel.com/community/tech/realsense/blog/2018/10/03/unofficial-pointcloud-stream-viewer-in-matlab

The RealSense is still working on an example for how to color a pointcloud in Matlab.

 

In order to get the video stream, you have to get the Image Acquisition Toolbox:

 

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

Regards,

 

Alexandra

 

EAlta
Beginner
880 Views

I have found a way to stream video from the camera on matlab.

Now I need to align depth to color or viceversa. Do you know how to achieve this?

0 Kudos
idata
Employee
880 Views

Hi edgar.altamirano,

 

 

I see that you posted this question in three different threads. I am going to answer your question here.

 

Please do not open multiple threads for the same issue.

 

As stated in this /community/tech/realsense/blog/2018/10/03/unofficial-pointcloud-stream-viewer-in-matlab blog post I previously shared, 'Mapping of color is still a work in progress.' Which means there is no off-the-shelf solution for it yet.The RealSense team is still working on adding more functionality to the Matlab wrapper. However, there are many discussions on the internet that address this problem. For example, you may find this one useful: https://www.codefull.org/2016/03/align-depth-and-color-frames-depth-and-rgb-registration https://www.codefull.org/2016/03/align-depth-and-color-frames-depth-and-rgb-registration

 

 

Regards,

 

Alexandra
0 Kudos
Reply