separate colors in a picture

1 次查看(过去 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.

类别

Help CenterFile Exchange 中查找有关 Image Processing Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by