フィルターのクリア

How to import .ply file into matlab?

21 ビュー (過去 30 日間)
Struct03
Struct03 2014 年 5 月 17 日
コメント済み: Image Analyst 2014 年 5 月 17 日
I need to import a cloud point which is in .ply format into into Matlab. This file contain x,y,z coordinates, x,y,z components of normal vector in each point and R,G,B channels. Maybe someone did something similar and knows how to help?
A sample of the file:
ply
format ascii 1.0
comment author: Smarttech
element vertex 10544
property float x
property float y
property float z
property uchar red
property uchar green
property uchar blue
end_header
-43.1235 4.01704 -29.2901 6 0 0
-45.0322 4.01704 -26.4157 6 0 0
-46.7447 4.01704 -23.4202 6 0 0
-48.2533 4.01704 -20.317 6 0 0
-49.5513 4.01704 -17.12 6 0 0
-41.027 4.01704 -32.0305 6 0 0
-52.1282 4.01704 -7.11054 5 0 0
-52.5354 4.01704 -3.68423 5 0 0
-52.7129 4.01704 -0.238373 5 0 0
-50.6328 4.01704 -13.8435 5 0 0
-51.493 4.01704 -10.502 5 0 0
-51.8638 4.01703 10.0626 4 0 0
-52.6597 4.01704 3.21164 5 0 0
I will appreciate every help.

回答 (1 件)

Image Analyst
Image Analyst 2014 年 5 月 17 日
Did you look in the File Exchange. http://www.mathworks.com/matlabcentral/fileexchange/index?utf8=%E2%9C%93&term=ply Some files in there read in .ply files. See how they did it.

カテゴリ

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