RGB2YCbCr RGB2Gray
摘要:
Y = 0.2990R+0.5870G+0.1140B; Cb=-0.1687R-0.3313G+0.5000B+128; Cr= 0.5000R-0.4187G-0.0813B+128;RGB --> YCbCr// |Y | |16 | |65.738 129.057 25.06 | |R|// |Cb| = |128| + (1/256)* |-37.945 -74.494 112.43| *|G|// |Cr | |128| |112.439 -94.154 -18.28| |B|Y = 0.256789*R + 0.504129*G + 0.097906*B + 16Cb =- 阅读全文
posted @ 2013-07-24 14:29 wps712 阅读(752) 评论(0) 推荐(0) 编辑