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?
16 次查看(过去 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!