作业帮 > 物理 > 作业

YUV色彩空间的物理意义

来源:学生作业帮 编辑:作业帮 分类:物理作业 时间:2024/05/26 07:53:00
YUV色彩空间的物理意义
从RGB转化为YUV时,Y分量代表灰度,但是计算Y时并不是将RGB三者平均而得的,RGB的权值并不相同,这是为什么?或者说这么设计有什么依据吗?
Y 代表亮度,UV为色度,人眼对亮度敏感,对色度相对不敏感.所以很多图像处理方法,为了节省运行时间,都对y做复杂处理,对UV简单处理.
三个系数中,G对应的系数较大,这个老师说过的,可是不太记得了~~
再问: 你说的这些我都知道,我想知道的是“为什么Y的计算公式中RGB的权值各不相同?”
再答: 上课只听了大概,细节记不得了,丢脸…… 在网上搜索了下,这些权值的确定是为了更符合人眼的感知。人眼对光谱中的黄-绿色区域更敏感,所以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.cambridgeincolour.com/tutorials/color-perception.htm