Filter löschen
Filter löschen

How to connect missing circle edges in a binary image?

2 Ansichten (letzte 30 Tage)
Mahmoud
Mahmoud am 17 Feb. 2015
Beantwortet: Image Analyst am 17 Feb. 2015
How I can connect the missing edges in the circle in a binary image? I do want to thicken the edges, though, I want to connect them.
Any help in details?
well appreciated

Akzeptierte Antwort

Image Analyst
Image Analyst am 17 Feb. 2015
Use bwdist() to find the max value of the Euclidean Distance Transform in the middle region of your image. That max value will be the radius of the biggest circle that can fit in that region. Then use imellipse to burn a white circle into your image, like the attached demo. Think about it first, and come back with your code if you still can't figure it out.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by