Items with no label
3335 Discussions

How to align depth to color from a d435 depth camera on matlab?

EAlta
Beginner
3,464 Views

I have the depth and color frames of a d435 depth camera on matlab.

How can I align depth image to color image (or viceversa) on matlab?

There is a file named "align.m" on github but I dont understand how to use the function.

0 Kudos
3 Replies
idata
Employee
1,949 Views

Hello edgar.altamirano,

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

 

The SDK offers a processing block for aligning the image to one another, producing a set of frames that share the same resolution and allow for easy mapping of pixels.

 

For more information, you can access the link below

 

https://github.com/IntelRealSense/librealsense/wiki/Projection-in-RealSense-SDK-2.0%23frame-alignment https://github.com/IntelRealSense/librealsense/wiki/Projection-in-RealSense-SDK-2.0# frame-alignment

You can also check out the following community threads:

 

/message/558305# 558305 https://communities.intel.com/message/558305# 558305

 

/thread/129107 https://communities.intel.com/thread/129107

Let me know if this information proves useful or if there is anything else I can assist you with.

 

Regards,

 

Casandra
0 Kudos
EAlta
Beginner
1,949 Views

Thanks for your time.

1) I do want to align depth and color frames as mentioned on the community threads you suggested me to check; but I need to do it using Matlab.

There is an align function on matlabs wrapper (https://github.com/IntelRealSense/librealsense/tree/master/wrappers/matlab librealsense/wrappers/matlab at master · IntelRealSense/librealsense · GitHub ) but there is no example on how to it.......could you help me with this?

2) Do depth and color frames have to have the same resolution to make the alignment?

0 Kudos
Ali996
Beginner
1,469 Views

@EAlta Have you got answer to your question?

 

0 Kudos
Reply