필터 지우기
필터 지우기

How to make ROI selection automatic

조회 수: 3 (최근 30일)
gaetano mallardo
gaetano mallardo 2019년 1월 25일
편집: gaetano mallardo 2019년 1월 25일
I have a 3d point cloud body with some holes. I would like to use the fitcylinder function in the holes, but to do this i need to select a ROI around the circular shape.
Up to now I manually select the ROI, and it actually work, but I would like to make this selection automatic.
I post the picture of the body i am starting with, but it's geometry could change. It could have a circular shape or irregularity perimeter.
Any idea about how to move on?
roi1 = [0.62,0.67;-0.09,0.11;0.12,0.13];
sampleIndices1 = findPointsInROI(remainPtCloud,roi1);
[ciliner,inlierIndices,outlierIndices,meanError] = pcfitcylinder...
(remainPtCloud,cyltopointMaxDist,'SampleIndices',sampleIndices1)

답변 (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