separate colors in a picture

5 次查看(过去 30 天)
cla
cla 2012-2-28
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!

回答(2 个)

yang
yang 2012-2-28
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
Image Analyst 2012-2-28
Post your picture to tinypic.com.

Community Treasure Hunt

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

Start Hunting!

Translated by