Reputation: 37
I am dealing with some circles in MATLAB image processing. At one step I need to fill the circles to make them discs. I use imfill command to fill the circles but the circles with incomplete boundaries doesn't work with it. Can someone suggest me a technique to fill these incomplete circles?
Thank You
Upvotes: 0
Views: 507
Reputation: 39389
You can try using the imfindcircles
function to detect the circles first. imfindcircles
should work for partial circles. Then, once you know where the circles are, you can use the insertShape
function from the Computer Vision System Toolbox to draw complete circle boundaries into your image. Then you should be able to use imfill
to turn them into discs.
Upvotes: 2