(0.299 * R + 0.587 * G + 0.114 * B)
사람의 눈은 색상보다 휘도에 민감하게 반응한다.
그 중 가장 민감한 것은 녹색, 그다음은 붉은색, 그다음은 파랑색이다.
때문에 사람이 느끼는 명도를 구하기 위해서는 위 가중치로 처리한다.
디지털에서는 다르다.
(0.2125 * R + 0.7154 * G + 0.072 * B)
http://operationpixel.free.fr/traitementcouleur_grayscale_ENG.php
I give you two example. For the encoding analog color television signals wr=0,299 wg=0,587 et wb=0,114. For the digital color encoding: wr=0,2125 wg=0,7154 et wb=0,072.