YDbDr
跳转到导航
跳转到搜索
1966年法国提出SECAM彩色电视制式,并制度YDbDr。
公式[编辑]
Y, Db和Dr讯号是产生自RGB 三原色。R, G和B的权重储存于Y信号,所代表的是该点亮度.
RGB 色彩空间和YDbDr转换之近似公式。
| <math>R, G, B, Y \in \left[ 0, 1 \right]</math> |
| <math>Db \in \left[ -1.333, 1.333 \right]</math> |
| <math>Dr \in \left[ -1.333, 1.333 \right]</math> |
从RGB至YDbDr:
| <math>Y = </math> | <math>0.299R</math> | <math> +0.587G</math> | <math> +0.114B</math> |
| <math>Db = </math> | <math>-0.450R</math> | <math> -0.883G</math> | <math> +1.333B</math> |
| <math>Dr = </math> | <math>-1.333R</math> | <math> +1.116G</math> | <math> +0.217B</math> |
从YDbDr至RGB:
| <math>R = </math> | <math>Y</math> | <math> +0.000092303716148Db</math> | <math> -0.525912630661865Dr</math> |
| <math>G = </math> | <math>Y</math> | <math> -0.129132898890509Db</math> | <math> +0.267899328207599Dr</math> |
| <math>B = </math> | <math>Y</math> | <math> +0.664679059978955Db</math> | <math> -0.000079202543533Dr</math> |
或者:
<math> \begin{bmatrix} Y \\ Db \\ Dr \end{bmatrix} = \begin{bmatrix} 0.299 & 0.587 & 0.114 \\ -0.450 & -0.883 & 1.333 \\ -1.333 & 1.116 & 0.217 \end{bmatrix} \begin{bmatrix} R \\ G \\ B \end{bmatrix} </math>
<math> \begin{bmatrix} R \\ G \\ B \end{bmatrix} = \begin{bmatrix} 1 & 0.000092303716148 & -0.525912630661865 \\ 1 & -0.129132898890509 & 0.267899328207599 \\ 1 & 0.664679059978955 & -0.000079202543533 \end{bmatrix} \begin{bmatrix} Y \\ Db \\ Dr \end{bmatrix} </math>
你可能会发现YDbDr的Y分量等同于YUV的分量。Db和Dr也类似于U和V如下:
| <math>Db = </math> | <math>+ 3.059U</math> |
| <math>Dr = </math> | <math>- 2.169V</math> |
参考书目[编辑]
- Shi, Yun Q. and Sun, Huifang Image and Video Compression for Multimedia Engineering, CRC Press, 2000 ISBN 0-8493-3491-8