How to save point cloud data? (sfm)

조회 수: 11 (최근 30일)
soyoung shin
soyoung shin 2017년 5월 10일
댓글: Yu Lan 2020년 5월 4일
Hello.
I followed the guideline below and I got a 3D point cloud view.
My question is ' How to save this point cloud data?'. I want to use this point cloud to do a delaunay triangulation.
such as.. trisurf method.. I want to apply on the point cloud data.. please help me.. : )

답변 (1개)

Harsh
Harsh 2017년 5월 12일
Based on the example you referred to, the point cloud is an Object for storing a 3-D point cloud. For example the example uses this:
ptCloud = pointCloud(points3D, 'Color', color);
If you want to create a separate copy of a point cloud, you can use the MATLAB copy method. You can read more about this here under tips:
It does appear however, that you would like to save this data to use for further processing. For this, you can use the MATLAB "save" method that can be used to save specific variables to various file formats such as ".mat" or ".txt". For example, after the above line, you can use the following line to save the workspace variable to a mat file:
>> save('pointCloud.mat','ptCloud')
You can learn more about this here:
  댓글 수: 2
Walter Roberson
Walter Roberson 2017년 5월 12일
If you want to extract the xyz coordinates then
ptCloud.Location
will give them.
Yu Lan
Yu Lan 2020년 5월 4일
If I want to save the point cloud file as the .ply or .pcd, is it possible?

댓글을 달려면 로그인하십시오.

카테고리

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!