Automatic detection of mango using ellipse equation
2 views (last 30 days)
Show older comments
Anybody can help me,how to use ellipse equation to detect mango in the image. any idea. i don't how to upload the image at here. But i can email the image to you. Thank you.
0 Comments
Accepted Answer
Image Analyst
on 24 Feb 2013
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
Image Analyst
on 27 Feb 2013
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.
More Answers (0)
See Also
Categories
Find more on Image Segmentation and Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!