Jump to content

YDbDr: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Konstable (talk | contribs)
m see also
added YDbDr to RGB conversion eqn's, added image, minor formatting, rm expert tag
Line 1: Line 1:
[[Image:YDbDr_components.jpg|right|thumb|An image along with its Y, Db, and Dr components.]]
{{expert}}

'''YDbDr''' is the [[colour space]] used in the [[SÉCAM]] colour [[television]] broadcasting standard, which is used in [[France]] and some countries of the former [[Eastern Bloc]]. It is very close to [[YUV]] and its related color spaces such as [[YIQ]], [[YPbPr]] and [[YCbCr]].
'''YDbDr''' is the [[colour space]] used in the [[SÉCAM]] colour [[television]] broadcasting standard, which is used in [[France]] and some countries of the former [[Eastern Bloc]]. It is very close to [[YUV]] and its related color spaces such as [[YIQ]], [[YPbPr]] and [[YCbCr]].


YDbDr is composed of three components - Y, Db and Dr. Y is the [[Luminance (video)|luminance]], and Db and Dr are the [[Chrominance|chrominance]] components (representing the red and blue colour differences). The Y, Db and Dr signals are created from an original RGB (red, green and blue) source. The weighted values of R, G and B are added together to produce a single Y signal, representing the overall brightness, or luminance, of that spot. The Db signal is then created by subtracting the Y from the blue signal of the original RGB, and then scaling; and V by subtracting the Y from the red, and then scaling by a different factor.
YDbDr is composed of three components - Y, Db and Dr. Y is the [[Luminance (video)|luminance]], and Db and Dr are the [[Chrominance|chrominance]] components (representing the red and blue colour differences).


== Formulas ==
:Y = + 0.299R + 0.587G + 0.114B
:Db = + 1.505(B - Y)
: = - 0.450R - 0.883G + 1.333B
:Dr = - 1.902(R - Y)
: = - 1.333R + 1.116G + 0.217B


The Y, Db and Dr signals are created from an original RGB (red, green and blue) source. The weighted values of R, G and B are added together to produce a single Y signal, representing the overall brightness, or luminance, of that spot. The Db signal is then created by subtracting the Y from the blue signal of the original RGB, and then scaling; and V by subtracting the Y from the red, and then scaling by a different factor.
You may note that the Y component of YDbDr is the same as the Y component of YUV. Db and Dr are related to the U and V components of the [[YUV]] colour space as follows:


These formulae approximate the conversion between the [[RGB]] color space and YIQ.
:Db = + 3.059U
{|
:Dr = - 2.169V
|-
|<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>
|}
From RGB to YDbDr:
{|
|-
|align="right"|<math>Y = </math>||align="right"|<math>0.299R</math>||align="right"|<math> +0.587G</math>||align="right"|<math> +0.114B</math>
|-
|align="right"|<math>Db = </math>||align="right"|<math>-0.450R</math>||align="right"|<math> -0.883G</math>||align="right"|<math> +1.333B</math>
|-
|align="right"|<math>Dr = </math>||align="right"|<math>-1.333R</math>||align="right"|<math> +1.116G</math>||align="right"|<math> +0.217B</math>
|}
From YDbDr to RGB:
{|
|-
|align="right"|<math>R = </math>||align="right"|<math>Y</math>||align="right"|<math> +0.000092303716148Db</math>||align="right"|<math> -0.525912630661865Dr</math>
|-
|align="right"|<math>G = </math>||align="right"|<math>Y</math>||align="right"|<math> -0.129132898890509Db</math>||align="right"|<math> +0.267899328207599Dr</math>
|-
|align="right"|<math>B = </math>||align="right"|<math>Y</math>||align="right"|<math> +0.664679059978955Db</math>||align="right"|<math> -0.000079202543533Dr</math>
|}
Or, using a matrix representation:


<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>

You may note that the Y component of YDbDr is the same as the Y component of YUV. Db and Dr are related to the U and V components of the [[YUV]] colour space as follows:
{|
|-
|align="right"|<math>Db = </math>||align="right"|<math>+ 3.059U</math>
|-
|align="right"|<math>Dr = </math>||align="right"|<math>- 2.169V</math>
|}
There is also a variety of the [[PAL]] broadcasting standard, [[PAL-N]], that uses the YDbDr colour space.
There is also a variety of the [[PAL]] broadcasting standard, [[PAL-N]], that uses the YDbDr colour space.



Revision as of 17:51, 28 June 2006

An image along with its Y, Db, and Dr components.

YDbDr is the colour space used in the SÉCAM colour television broadcasting standard, which is used in France and some countries of the former Eastern Bloc. It is very close to YUV and its related color spaces such as YIQ, YPbPr and YCbCr.

YDbDr is composed of three components - Y, Db and Dr. Y is the luminance, and Db and Dr are the chrominance components (representing the red and blue colour differences).

Formulas

The Y, Db and Dr signals are created from an original RGB (red, green and blue) source. The weighted values of R, G and B are added together to produce a single Y signal, representing the overall brightness, or luminance, of that spot. The Db signal is then created by subtracting the Y from the blue signal of the original RGB, and then scaling; and V by subtracting the Y from the red, and then scaling by a different factor.

These formulae approximate the conversion between the RGB color space and YIQ.

From RGB to YDbDr:

From YDbDr to RGB:

Or, using a matrix representation:

You may note that the Y component of YDbDr is the same as the Y component of YUV. Db and Dr are related to the U and V components of the YUV colour space as follows:

There is also a variety of the PAL broadcasting standard, PAL-N, that uses the YDbDr colour space.

References

  • Shi, Yun Q. and Sun,Huifang Image and Video Compression for Multimedia Engineering, CRC Press, 1999

See also

Template:Electro-stub