How about applying a morphological closing operation until an ellipse fit converges in quality?
With that fish though, maybe need a few “erosion” operations to scrape of those fins. ;)
The disadvantage of morphological erosion alone is that the size of the object will be reduced, while the combo of erosion and dilution (i.e. “closing”) keeps the integrated object size nearly the same.
Michael
On Apr 10, 2017, at 16:48, Surya Kasturi <suryak@udel.edu> wrote:
Hey everyone,
My name is Surya — working on a project on image classification.
I’m interested in identifying non-rigid shapes (close to an ellipse) in an image. Sample image below.
Could anyone please point me to some references for that?
<output1.jpg>
Thanks
Surya
_______________________________________________
scikit-image mailing list
scikit-image@python.org
https://mail.python.org/mailman/listinfo/scikit-image