How to save a point cloud object??
3 ビュー (過去 30 日間)
古いコメントを表示
Hi, I am working on 3D reconstruction. I got the output as 3D image displayed in X,Y and Z axes. But how to save the output of showpointcloud in PLY format. When i tried using pcwrite, i got the error as type of the input was incorrect. The input to pcwrite should be of format of pointCloud object. As per the matlab documentation, the output of reconstruct scene is pointCloud object. But i am getting the output of reconstructscene in 'single' format. Its dimension is M*N*3. When i tried using the inbuilt example in 'stereo calibration and scene reconstruction' also, the output of reconstruct scene stored as Point3D is in 'single' format. How to convert this object as pointcloud object so that i can convert it to ply format??
And when 3D image is stored in ply format, will it be suitable for 3D monitor display?
採用された回答
Dima Lisin
2016 年 3 月 2 日
Hi Priya,
This confusion is an unfortunate result of a name conflict. reconstructScene returns an M-by-N-by-3 array of xyz coordinates. To use pcwrite you have to create a pointCloud object from it.
0 件のコメント
その他の回答 (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!