Filter löschen
Filter löschen

working on one channel at a color space

1 Ansicht (letzte 30 Tage)
eman
eman am 30 Nov. 2012
Hi ; I have converted RGB image to YCbCr color space using
myImage=rgb2ycbcr(myImage);
this has three channel Y,Cb and Cr i need to work just at Y channel ,How can I do that? may you help me Thanks in advance

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 30 Nov. 2012
myImageycbcr = rgb2ycbcr(myImage);
myImagey = myImageycbcr(:,:,1);

Weitere Antworten (0)

Kategorien

Mehr zu Convert Image Type finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by