How to find a circle segment coordinates in image?

Hi,
I need to count the number of hairs in a circle located in a image (the images are attached), but I don't want to relate to the rest of the image. How can I isolate the circle from the rest of the image?
Itai

Answers (1)

If you use a template that is opaque, say, black, then it would be trivial: just threshold.

2 Comments

But I received this image and I can't change the way the image is taken. There is a way to mark only the circle?
Thanks, Itai
You can use imellipse. See attached demo.

Sign in to comment.

Asked:

on 14 Feb 2016

Commented:

on 14 Feb 2016

Community Treasure Hunt

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

Start Hunting!