0
votes

I have the following picture: enter image description here

I would like to detect the 7 white 'circular' paper-parts (closed contours) in Matlab and store the radii and center points. I have tried the following ways:

  • Feature matching the original image (top-left) with reference image (bottom-right)
  • Filter out the edges (top-right and bottom-left) and fit multiple circles to the data points
  • Detecting circles in original picture (top-left) with Circular Hough

but they did not work. I am a beginner in image processing, could someone please help? Thanks :)

2

2 Answers

0
votes

You can play with contour function, by specifying either number of levels or levels directly. If you need contour coordinates, you can use the low level function contourc, whose output format is a little tricky.

0
votes

Use blob detection after adaptive binarization. Center and area are readily computed and you can estimate the radius from the area.