Unexpected alphaShape output - missing points?

조회 수: 9 (최근 30일)
Andrew
Andrew 2025년 3월 31일
댓글: Umeshraja 2025년 6월 16일
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
Umeshraja
Umeshraja 2025년 6월 16일
Please provide reproduction code just for the results showed in the images to investigate further.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Bounding Regions에 대해 자세히 알아보기

제품


릴리스

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by