separate colors in a picture

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!

Risposte (2)

yang
yang il 28 Feb 2012

0 voti

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);

Richiesto:

cla
il 28 Feb 2012

Community Treasure Hunt

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

Start Hunting!

Translated by