How can I extract xyz coordinates from a point cloud, given that the class is PointCloud instead of PointCloud2? Is there a way to convert the class type from PointCloud to PointCloud2?
7 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Sanad Afaneh
el 4 de Mzo. de 2018
Comentada: Walter Roberson
el 7 de Mayo de 2021
I keep getting the error: Undefined function or variable 'xyzPoints' Class gives me: >> class(ptCloud)
ans =
'pointCloud'
Instead of PointCloud2
Is it possible to change the class?
Respuesta aceptada
Walter Roberson
el 4 de Mzo. de 2018
ptCloud.Location
4 comentarios
Maharani Putri
el 6 de Mayo de 2021
@Walter Roberson Thank you for your help. Finally, I have a good answer.
The next question, how can we find Xmin; Ymin; and Zmin for the 3 column matrix?
Thanks.
Walter Roberson
el 7 de Mayo de 2021
mins = min(YourMatrixWithThreeColumns,1);
Xmin = mins(1); Ymin = mins(2); Zmin = mins(3);
Más respuestas (0)
Ver también
Categorías
Más información sobre Point Cloud Processing en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!