How could I use morphological processing to find circular objects in an image? More specifically, I need to detect road signs.
I need to get the "80 speed limit" sign from this image:

|
How could I use morphological processing to find circular objects in an image? More specifically, I need to detect road signs. I need to get the "80 speed limit" sign from this image:
|
|||||||||||||||||
|
|
Basically, you import the image:
Tidy it up:
Isolate the areas of interest:
Use component analysis:
Now use this information to process your original image...
Of course, I've cheated in this answer: to process arbitrary images - or to detect crows on road signs - is much much harder! (I chose this image because, when I wrote this answer, you hadn't supplied your example.) |
|||||||||||
|
|
The following method doesn't require parameters and discovers also oblique views.
If you want to detect non-reddish edged ellipses just remove the |
|||||||||||
|