How to close holes in shapes generated from 3D point cloud data using alphaShape function?
古いコメントを表示
Hello,
I generated a shape from a 3D point cloud using alphaShape function. Following this step, I notice that the shape has few holes; thus the volume of the shape is under estimated. Could you please provide a suggestion on how to close the holes? Please see below for the code snippet:
[MRI] = import_STL('AnkleHisresMRI_1.stl');
Vertices = MRI.solidVertices{1};
Faces = MRI.solidFaces{1};
[~, ind1, ind2] = unique(pround(ATMRIVertices,5), 'rows');
V = V(ind1, :);
F = ind2(F);
shp = alphaShape(V); % shp = alphaShape(V, 'HoleThreshold', 100);
EstimatedVol = volume(shp);
Could you please provide suggestions to solve this issue? Thanks in advance for your time and help.
Cheers, Danny
1 件のコメント
Daniel Devaprakash
2018 年 8 月 3 日
回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Bounding Regions についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!