function [Y, Cb, Cr] = rgb_to_ycbcr(R, G, B)

Y = 0.2126 * R + 0.7152 * G + 0.0722 * B;
Cb = B - Y;
Cr = R - Y;

end
