Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version


I think a clever combination of morphological operations and connected components could enhance the inner ring.

I have tried the following:

1) Dilate the image

image description

2) find connected components and remove blobs with small area

image description

3) take the inner ring and erode the image

image description

4) again find connected components and remove small blobs

image description

5) based on this you can do the ellipse fitting