How to make ROI selection automatic

7 visualizaciones (últimos 30 días)
gaetano mallardo
gaetano mallardo el 25 de En. de 2019
Editada: gaetano mallardo el 25 de En. de 2019
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)

Respuestas (0)

Categorías

Más información sobre Point Cloud Processing en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by