YUV色彩空间的物理意义从RGB转化为YUV时,Y分量代表灰度,但是计算Y时并不是将RGB三者平均而得的,RGB的权值并

YUV色彩空间的物理意义
从RGB转化为YUV时,Y分量代表灰度,但是计算Y时并不是将RGB三者平均而得的,RGB的权值并不相同,这是为什么?或者说这么设计有什么依据吗?
zhangbiao1013 1年前 已收到2个回答 举报

hai54liangqi 春芽

共回答了12个问题采纳率:83.3% 举报

Y 代表亮度,UV为色度,人眼对亮度敏感,对色度相对不敏感.所以很多图像处理方法,为了节省运行时间,都对y做复杂处理,对UV简单处理.
三个系数中,G对应的系数较大,这个老师说过的,可是不太记得了~~

1年前 追问

1

zhangbiao1013 举报

你说的这些我都知道,我想知道的是“为什么Y的计算公式中RGB的权值各不相同?”

举报 hai54liangqi

上课只听了大概,细节记不得了,丢脸…… 在网上搜索了下,这些权值的确定是为了更符合人眼的感知。人眼对光谱中的黄-绿色区域更敏感,所以G对应的权值较大。 Luma can be relatively easly calculated from RGB channels by averaging the color values and giving more weight to some colors over others to find out the luma value. Scientists came up with weights that match human perception where green has high contribution, red half of that, blue - one third of red. Why this is the case is simply a matter of the way the brain works and this perceptive model is important in how YUV was developed. human color perception is most sensitive to light in the yellow-green region of the spectrum 参考:http://www.***.com/tutorials/color-perception.htm

十三大猪 幼苗

共回答了1个问题 举报

Y分量确实是灰度,但是灰度化的方法有几种,你所说的RGB三者平均是取灰度的一种方法,而常规RGB转YUV的Y分量转换,采用的是加权平均法,根据颜色的重要性,人眼对绿色最敏感,对蓝色最不敏感,所以用加权平均法取的Y

1年前

0
可能相似的问题
Copyright © 2024 YULUCN.COM - 雨露学习互助 - 18 q. 6.671 s. - webmaster@yulucn.com