Detection of parts of circles (shape detection)

18 views (last 30 days)
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

Answers (1)

Stephan
Stephan on 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 Comment
Fabian Ziegler
Fabian Ziegler on 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

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!