separate colors in a picture
Show older comments
Dear all, I would be grateful if someone could help me to find a solution to my problem.....I have a pictures and I need to divided in the 3 different colors that are present (i.e. yellow, blue, red). I don´t want to have the channel but other 3 picture with in each one only one of the colors. Thanks to all!
Answers (2)
yang
on 28 Feb 2012
0 votes
if the three colors is R,G,B,i can for example I as a turecolor image R=I(:,:,1); G=I(:,:,2); B=I(:,:,3);
Image Analyst
on 28 Feb 2012
0 votes
See my color segmentation demos: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862
Post your picture to tinypic.com.
Categories
Find more on Image Arithmetic 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!