Finding circles in scatter

痞子三分冷 提交于 2019-12-14 03:32:46

问题


I am working with a sensor and I have collected data which represented in two lists:

filtered_x = [64, 90, 83, 78, 57, 58....]
filtered_y = [26, 17, 63, 21, 62, 86....]

Which gives the following scatter plot:

This is part of a calibration process. In order to complete this, I have to find the circles in the plot and come up with coordinates of the centers of the circles so the sensor can be calibrated. Which libraries should I use and how do I go about doing this? I have come across nearest K neighbor but I cannot find any practical approaches to applying this to both lists to identify the centers of the 25 clusters. The readings as a result of a flashing LED board.


回答1:


Use kernel density estimation (KDE), and find maxima.

Because that is what you want to find, the most dense locations.



来源:https://stackoverflow.com/questions/44658086/finding-circles-in-scatter

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