working on one channel at a color space

조회 수: 1 (최근 30일)
eman
eman 2012년 11월 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