tomiock / LeagueOfLegends-Analytics

Trying to quantize the "tempo".
https://tomiock.com
0 stars 0 forks source link

Distance threshold cannot be exactly double the circle radius #3

Open tomiock opened 1 month ago

tomiock commented 1 month ago

it can happen that getting to know which circle is on top can be very tricky if there just overlapping on the edge: image

And since the outer most loop in the algorithm goes through the circles at random, there can be miss-labeled circles in some cases.

Using the 90% of the circle diameter as distance threshold seems to work better, since it does not cluster together some circles that are just overlapping on the edge. Note that the circle detection is not perfect and the real edge is not exactly the detected edge.

image

tomiock commented 1 month ago

In commit feat: good enough clustering the parameters are the following: