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?
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Sanad Afaneh
am 4 Mär. 2018
Kommentiert: Walter Roberson
am 7 Mai 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?
Akzeptierte Antwort
Walter Roberson
am 4 Mär. 2018
ptCloud.Location
4 Kommentare
Maharani Putri
am 6 Mai 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
am 7 Mai 2021
mins = min(YourMatrixWithThreeColumns,1);
Xmin = mins(1); Ymin = mins(2); Zmin = mins(3);
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Point Cloud Processing finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!