3D Point Cloud to 2D depth image
47 views (last 30 days)
Show older comments
Hi
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
Answers (2)
VahidB
on 22 Jan 2016
7 Comments
Walter Roberson
on 21 Dec 2016
Edited: Walter Roberson
on 21 Dec 2016
https://www.mathworks.com/help/vision/ref/pcwrite.html writes to ply format.
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.
See Also
Categories
Find more on Point Cloud Processing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!