Ask Your Question

Revision history [back]

Difficulty in detected ellipses in image

I have image with a lot of tomatoes. I need find tomatoes as much as possible . The problem is that after executed some operation i got this edge map:

edge map

So i have a lot of edge points, and where try run Hough ellipses transform, the process run forever(....).

I also try connected components and distance transform and got this: labeled image

After this i findcontour and executed fitEllipse. The results were very bad.

What can I do next? maybe different approach?