Unexpected alphaShape output - missing points?

1 visualizzazione (ultimi 30 giorni)
Andrew
Andrew il 31 Mar 2025
Commentato: Umeshraja il 16 Giu 2025
Using alphaShape to generate a shape from a point cloud. The general principle is that in a point cloud, there is a shape with a certain thickness. The goal is to extract the points which lie on the inside and outside of the shape, and generate shapes with those. I have code that does this via the genus of the shape. It returns the point clouds of both the inner and outer shell just fine, but when passed through alphaShape, it produces results like below.
Below is the alphaShape for the "minimum shell", the alphaShape with seperated interior and exterior shells, and a portion of the original point cloud.
The alpha value used has been played with, but no matter what the points which are absent are never present in the alphaShape. Below is the exact code which is used to produce the above result. "innerShellPoints" is the first point cloud displayed.
innerShell = alphaShape(innerShellPoints, minShell.Alpha * 1.2);
Both inner and outer point clouds look exactly as expected, as does the minimum shell. What could be causing this issue? It seems almost like alphaShape is skipping entirely over some of the provided points.
  1 Commento
Umeshraja
Umeshraja il 16 Giu 2025
Please provide reproduction code just for the results showed in the images to investigate further.

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Bounding Regions in Help Center e File Exchange

Prodotti


Release

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by