Similar color segmentation in an RG image.
3 views (last 30 days)
Show older comments
Hi! I have an RGB image with four main colors (green, orange, yellow, white-ish (the background):
I'd like to separate the fruits from the image similar to the images that I attached.
My first thought would be to decompose the image to the three color channels (R, G, B) and somehow, depending on the brightness of the images (from each channel) threshold the objects, but it gives me a very bad result... Any ideas?
Thank you so much, for advance!
Answers (1)
Image Analyst
on 26 Feb 2014
Maybe try this demo: http://www.mathworks.com/products/demos/image/color_seg_k/ipexhistology.html Or else look at the color segmentation methods in my File Exchange: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862
0 Comments
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!