Trying to understand behavior of holes in alphaShapes.
Mostra commenti meno recenti
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)
Risposta accettata
Più risposte (1)
Kumar Pallav
il 22 Nov 2021
0 voti
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 Commenti
Matt J
il 22 Nov 2021
Categorie
Scopri di più su Bounding Regions in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

