3D Point Cloud to 2D depth image
Mostrar comentarios más antiguos
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
3 comentarios
yifang huang
el 23 de Oct. de 2018
is this question solved?
Guillermo
el 12 de Sept. de 2020
Hi, You can use this function
Walter Roberson
el 12 de Sept. de 2020
That contribution is what VahidB suggested 4 years ago.
Respuestas (2)
VahidB
el 22 de En. de 2016
1 voto
7 comentarios
henry henry
el 13 de Nov. de 2016
how to get x , y and z from pointcloud?
Walter Roberson
el 14 de Nov. de 2016
XYZ = YourPointCloud.Location; %Location property
X = XYZ(:,1); Y = XYZ(:,2); Z = XYZ(:,3);
rajyalakshmi k
el 20 de Dic. de 2016
hi sir i am not able to store my point cloud image in .xyz or .ply format.so i need small attention on my question "how to give point cloud location (XYZ = YourPointCloud.Location)";"
Walter Roberson
el 20 de Dic. de 2016
rajyalakshmi k, What format is your point cloud in?
rajyalakshmi k
el 21 de Dic. de 2016
Editada: Walter Roberson
el 21 de Dic. de 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
el 21 de Dic. de 2016
Editada: Walter Roberson
el 21 de Dic. de 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.
rajyalakshmi k
el 21 de Dic. de 2016
Thank you sir
Meghana Dinesh
el 3 de Nov. de 2015
0 votos
Categorías
Más información sobre Point Cloud Processing en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!