Trying to understand behavior of holes in alphaShapes.
古いコメントを表示
I have created the attached alphaShape object, which contains a hole.
load alph_shape;
shp
plot(shp)
I am trying to understand why, when I drastically increase the alpha radius,
shp.Alpha=1e6;
edges are added that transect the hole. Clearly, the radius is much bigger than the dimensions of the hole, so how can the enlargement cause new edges to be added inside it?
plot(shp)
採用された回答
その他の回答 (1 件)
Kumar Pallav
2021 年 11 月 22 日
0 投票
Hi,
The default alpha radius is one which is the smallest alpha radius that produces an alpha shape that encloses all points.
From my understanding, as you increase the 'alpha' value, it no longer produces the tighest fitting alpha shape, and you can observe this with the holes getting filled by points connected within that radius.
For an extreme value of 'alpha'=inf, it basically produces a conves hull with all the points inside it.
Since, you have given a large value of alpha, it is basically producing a convex hull.
Hope this helps!
2 件のコメント
Matt J
2021 年 11 月 22 日
カテゴリ
ヘルプ センター および File Exchange で Bounding Regions についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

