Detect group of points further to the rest

谁都会走 提交于 2019-12-11 00:34:58

问题


I have a set of points from a laser recognition of a sewer. This sewer has a hole in it.

The main goal is to detect this hole and decide whether it's clean or not. One way to detect it is to find the hole and see if it is a circle (in which case it is clean) or a circle with the upper or bottom side straight (in which case it is dirty).

There may be several solutions to obtain my main goal. I think that detecting this set of points that generate the hole and projecting them could be a good solution. If there is a better approach I would appreciate any suggestion.

I attach two images of the point cloud, which could be of help to understand where is the hole. The first image shows some points at the right. Those points are the ones that the laser detects further inside the hole. In the second image you can see the hole and those points from other perspective.

Thank you, Alex.


回答1:


A suggestion (untried): select the points that belong to a single side of the sewer and project them onto the plane of that side to obtain a 2D data set.

Then use the largest empty circle algorithm. If there are no spurious points inside the hole, a large radius will result. (See https://en.wikipedia.org/wiki/Largest_empty_sphere, 2D case.)



来源:https://stackoverflow.com/questions/36062299/detect-group-of-points-further-to-the-rest

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