MATLAB Answers

eman

working on one channel at a color space

Asked by eman
on 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

  0 Comments

Products

No products are associated with this question.

1 Answer

Answer by Walter Roberson
on 30 Nov 2012
 Accepted answer
myImageycbcr = rgb2ycbcr(myImage);
myImagey = myImageycbcr(:,:,1);

  1 Comment

eman
on 1 Dec 2012

Thank you


Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply today