Detection of parts of circles (shape detection)

14 visualizzazioni (ultimi 30 giorni)
Fabian Ziegler
Fabian Ziegler il 19 Apr 2021
Commentato: Fabian Ziegler il 21 Apr 2021
Hello,
please see attached the following images.
I want to detect the lense in my picture (the 2 bright rings) and then want to inpaint it. Throughout the frames, sometimes the lense is fully in the picture and sometimes not, which makes circle detection kinda useless, is there any way to make use of roundness or other detection to find the (partly) circular object in the picture?
I tried tressholding with an binary image but the brightness of the picture is to uniform to get a clear result.
Edit: I could produce the following picture. Is there any way to detect the blue half circles as a sole object (the lense)? I approximatly know the radius of both lenses if that can help.
Thanks for any advice
Best Regards

Risposte (1)

Stephan
Stephan il 20 Apr 2021
I dont think that this is correct: "...sometimes the lense is fully in the picture and sometimes not, which makes circle detection kinda useless..." At least it is worth a try because Matlab can do this job. See example here:
  1 Commento
Fabian Ziegler
Fabian Ziegler il 21 Apr 2021
I am not able to detect any circles with the imfindcircle function sadly. No centre/radii will be found no matter what picture i use

Accedi per commentare.

Community Treasure Hunt

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

Start Hunting!

Translated by