How can I find circles that are in certain distance?

2 views (last 30 days)
I want to find on image that circles wich are for example 50px from each other.
  1 Comment
Sven
Sven on 16 Mar 2013
  1. Find your circles.
  2. Find those that are 50px away from another circle.
If you don't show what you have done, we can only give answers like this.

Sign in to comment.

Answers (1)

Image Analyst
Image Analyst on 16 Mar 2013
First find the circles, for example with imfindcircle(). Then find the distance of every circle to every other circle with the Pythagorean theorem or the hypot() function.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!