How to check if a circle lies in a certain range

71 Views Asked by At

Please check me

I've a problem where I need to calculate the score on this board. I was able to detect the ranges, and detect the bullets. I would like to make a loop to check whether the bullet holes that are marked with small circles are inside a certain range with a for a loop. I've the radii of the big circles or ranges, and also have the radii of the small circles or bullets. I just need a general loop that will check them all and tell me for example if bullet 1 marking exist in range 1 or 2 or 3..etc. I am using Matlab but I just want to know the procedure.