How to generate a 3D point cloud from depth image and color image acquired from Matlab

Babak Ghassemi picture Babak Ghassemi · Apr 27, 2016 · Viewed 9k times · Source

I have 2 set data acquired from kinect 1- depth image with size 480*640 (uint16) from a scene 2- color image with same size (480*640*3 single) from same scene The question is how can I merge these data together to generate a colored 3D point clouds with PLY format in Matlab. I need to say that unfortunately I don't have an access to kinect anymore and i should use only these data.

Answer

David de la Iglesia picture David de la Iglesia · Apr 27, 2016

I've never tried to do that in matlab, but i think that this is what you are looking for:

http://es.mathworks.com/help/vision/ref/pcfromkinect.html

The tool is inside the Computer Vision System Toolbox™.