Accepted Answer

Guillaume
Guillaume on 18 Feb 2018
Edited: Guillaume on 18 Feb 2018
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

1 Comment

Correction: rgb2gray(ycbcr2rgb(yourimage))

Sign in to comment.

More Answers (0)

Categories

Find more on Modify Image Colors in Help Center and File Exchange

Asked:

on 18 Feb 2018

Edited:

on 18 Feb 2018

Community Treasure Hunt

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

Start Hunting!