How to save a point cloud object??

7 ビュー (過去 30 日間)
Priya
Priya 2016 年 3 月 2 日
回答済み: Dima Lisin 2016 年 3 月 2 日
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?
  1 件のコメント
Durga Chauhan
Durga Chauhan 2016 年 3 月 2 日
durga

サインインしてコメントする。

採用された回答

Dima Lisin
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 件)

カテゴリ

Help Center および File ExchangePoint Cloud Processing についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by