MATLAB: Ycbcr to grayscale?

color spacegrayImage Processing Toolboxycbcr

Is there any way to convert ycbcr to grayscale? eg

Best Answer

Note that there are many ways of converting colour to greyscale. Any weighted sum of the colour components can be a greyscale conversion.
Your Y component of the ycbcr triplet is already such a weighted sum. So you could just use that as a greyscale image.
Otherwise, you can always
rgb2gray(ycbcr2rgb(yourimage))
edit: an r was missing. Thanks Image Analyst
Related Question