Detection of parts of circles (shape detection)

20 Ansichten (letzte 30 Tage)
Fabian Ziegler
Fabian Ziegler am 19 Apr. 2021
Kommentiert: Fabian Ziegler am 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

Antworten (1)

Stephan
Stephan am 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 Kommentar
Fabian Ziegler
Fabian Ziegler am 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

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

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

Start Hunting!

Translated by