Fit maximum convex hull to interior of a set of points

浪子不回头ぞ 提交于 2021-02-07 09:45:49

问题


I'd like to find the largest convex hull which fits in the interior of a set of points. I have a set of points which are roughly circular, with a large number of outlier points outside of the circle I'd like to fit. Imagine a circle with "solar flares"... I want to fit the circle and completely ignore the flares. I've tried various fit and culling strategies, but they aren't working well.

I've searched quite a bit and not found a solution. Thanks in advance.


回答1:


The notion you need may be alpha shapes. The convex hull is a sub-set of the alpha-shape for an extreme value for alpha. The alpha shape is fitting a set of point closer than the convex hull with some values for alpha.

Theory has been developed by Edelbrunner. This is a good start: http://www.mpi-inf.mpg.de/~jgiesen/tch/sem06/Celikik.pdf

For computation, you must: compute delaunay triangulation and/or voronoi diagram, then select points that observe one condition.

Example alpha shape:

enter image description here

This is in fact a concave hull, and it may disregard outliers.



来源:https://stackoverflow.com/questions/16324139/fit-maximum-convex-hull-to-interior-of-a-set-of-points

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!