Automatic detection of mango using ellipse equation

 Accepted Answer

That image does not look like a mango. And, what is "the ellipse equation"? If it's just the standard ellipse equation then that is just an equation - it does not segmentation on the image at all. See my segmentation demos for help: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862

6 Comments

i don't how to upload the image. i want ask is Automatic detection of mango using ellipse equation.
you know how to detect?
Thank you.
I do not recall ever having seen an elliptical mango.
Those are rather challenging images for a beginner, or even someone like me. Some mangoes are cut off by the edge of the picture, some are overlapping to various degrees, they are a variety of internal colors against a background also with a variety of colors, etc. Anyway, it's not something I could develop for you in 5 minutes - it looks more like a long term project (senior project or Master's or Ph.D. degree depending on how complicated the images are and how robust the program needs to be).
It looks to me as if texture analysis might need to be the approach.
That would most likely be a step in the solution. But some mangoes are patterned while some are smooth, and sometimes the background has splotchy texture too but sometimes it's smooth. So it would probably involve lots of things like texture, combined with color, combined with edge detection, combined with size filtering to weed out objects that are too large or too small (would have to know the spatial calibration for that), and maybe some other things I can't even think of. Then perhaps take the convex hull when you've binarized it down to candidate blobs. Might have to use edge detection combined with watershed to split apart those overlapping mangoes, and then do shape filtering to get rid of non-oval (i.e. crescent or sliver) shaped blobs. Way too much effort for me to offer any help for.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!