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

 採用された回答

Walter Roberson
Walter Roberson 2012 年 11 月 30 日

0 投票

myImageycbcr = rgb2ycbcr(myImage);
myImagey = myImageycbcr(:,:,1);

その他の回答 (0 件)

カテゴリ

Community Treasure Hunt

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

Start Hunting!

Translated by