Math question
I can't figure out how to go from the 1st 3 sets of equations to the 2nd sets. The equations are appearantly equal and I believe its some sort of modulo arithmetic. Can some guru explain how they did the conversion.....thanks.
Y = 0.299R + 0.587G + 0.114B
Cr = 0.713*(R - Y)
Cb = 0.565*(B - Y)
Is same As:
Y = 0x132 * R + 0x259 * G + 0x074 * B
Cr = (R >> 1) - 0x1AD * G - 0x053 * B
Cb = (B >> 1) - 0x0AD * R - 0x153 * G
0x = hexadecimal numbers
>> = shift right = divide by 2.