//Luma coefficients suggested for HDTVs. If you change these, make sure they add up to 1. #define LUMA_R 0.213 #define LUMA_G 0.715 #define LUMA_B 0.072