Now after obtaining the xyz coordinates, how can I convert the data into a 3 column matrix?
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?
19 ビュー (過去 30 日間)
古いコメントを表示
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?
採用された回答
Walter Roberson
2018 年 3 月 4 日
ptCloud.Location
4 件のコメント
Maharani Putri
2021 年 5 月 6 日
@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
2021 年 5 月 7 日
mins = min(YourMatrixWithThreeColumns,1);
Xmin = mins(1); Ymin = mins(2); Zmin = mins(3);
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Point Cloud Processing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!