How to visualize a mesh texture PLY file in MATLAB?

26 ビュー (過去 30 日間)
Abbas Atefi
Abbas Atefi 2021 年 3 月 5 日
コメント済み: Chris Volpe 2023 年 10 月 27 日
Hi,
I created a '.ply' 3d model (mesh texture) of an object (plants in the field) using 3D Zephyr software. I can visulize the 3d model as a solid object (not point cloud) in other softwares such as MeshLab and Agisoft. However, when I use the code below in MATLAB, it just show me the point cloud of the object. How can I visulize .ply file as mesh texture (a solid object along with its color information) in MATLAB?
ptCloudA = pcread('Plant.ply');
pcshow(ptCloudA);
Thank you,
Abbas

回答 (1 件)

Chidvi Modala
Chidvi Modala 2021 年 3 月 10 日
編集済み: Chidvi Modala 2021 年 3 月 10 日
pcread function does not extract the color information. This feature is not available as of now. I have brought this issue to the concerned people and it might be considered in any future release.
For a workaround, you may refer to the following link. The workaround posted in the below link should work as long as the PLY file uses ascii encoding.
You can also look into the below workaround
  2 件のコメント
Abbas Atefi
Abbas Atefi 2021 年 3 月 12 日
Hi Chidvi,
Thank you for your help. However, I can visulize the PLY file (meshed object) with color information. I also can see the 3d object in 3DZephyr and MeshLab softwares as a solid object not point cloud. My question is how can I visulize the 3d model as a colorful and solid (meshed) object?
Thank you,
Abbas
Chris Volpe
Chris Volpe 2023 年 10 月 27 日
Abbas, can you clarify your comment above? In the second sentence, you seem to be saying that you are able to do exactly what you say you are seeking to do in the fourth sentence.

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

カテゴリ

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