필터 지우기
필터 지우기

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 CenterFile Exchange에서 Point Cloud Processing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by