필터 지우기
필터 지우기

How can I transform a point cloud back into an array?

조회 수: 7 (최근 30일)
lucca k
lucca k 2015년 11월 2일
Hello,
I created a point cloud out of an array and did a spatial transformation. Afterwards I filtered it. Here is the code:
tform = affine3d(T)
%Transformation
ptCloud = pointCloud(xyzPoints)
ptCloudIn = ptCloud
ptCloudOut = pctransform(ptCloudIn,tform)
roi = [-5,5;-5,5;0.01,1]
indices = findPointsInROI(ptCloudOut, roi);
ptCloudFiltered = select(ptCloudOut, indices);
When I want to do further things with the point cloud like deleting collumns, I get this error:
Array formation and parentheses-style indexing with objects of class 'pointCloud' is
not allowed.
How can I get a normal array out of the point cloud again?
Thank you for considering!
Lucca

답변 (0개)

카테고리

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