working on one channel at a color space

1 次查看(过去 30 天)
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
myImageycbcr = rgb2ycbcr(myImage);
myImagey = myImageycbcr(:,:,1);

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Modify Image Colors 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by