MATLAB Answers

3D Point Cloud to 2D depth image

282 views (last 30 days)
Wajahat on 7 Jul 2015
Commented: yifang huang on 23 Oct 2018
I have a 3D point cloud.
Now I want to convert it to 2D depth image of say 240*320. Does anyone has anything to share?
It will be a good addition to Matlab.
Best Regards Wajahat

  1 Comment

yifang huang
yifang huang on 23 Oct 2018
is this question solved?

Sign in to comment.

Answers (2)

VahidB on 22 Jan 2016


Show 4 older comments
rajyalakshmi k
rajyalakshmi k on 21 Dec 2016
Thank u sir for your fast response,
after executing this the final output is point cloud only but while saving that image i am not able to save in .xyz or .ply format (bcoz point cloud should be in .xyz or .ply only) anyway it is saving in .fig format only. but i need to extract x,y,z coornidates for any pointcloud image for further processing like getting surface model for that point cloud data. so please give any solution for my question.
Walter Roberson
Walter Roberson on 21 Dec 2016
When you get down to the part of the example that has
% Create the point cloud
ptCloud = pointCloud(points3D, 'Color', color);
then ptCloud.Location will exist.

Sign in to comment.

Meghana Dinesh
Meghana Dinesh on 3 Nov 2015


Sign in to comment.

Sign in to answer this question.

Translated by