separate colors in a picture
    1 view (last 30 days)
  
       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!
0 Comments
Answers (2)
  yang
 on 28 Feb 2012
        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);
0 Comments
  Image Analyst
      
      
 on 28 Feb 2012
        See my color segmentation demos: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862
Post your picture to tinypic.com.
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

