YUV-RGB 색상 변환 공식

1 개요[ | ]

YUV-RGB 색상 변환
  • YUV-RGB는 변환공식은 YUV의 가중치에 따라 달라짐
→ 그래서 Y 대신 Y' 로 표기

2 SDTV with BT.601[ | ]

[math]\displaystyle{ {\begin{aligned}W_{R}&=0.299\\W_{G}&=1-W_{R}-W_{B}=0.587\\W_{B}&=0.114\\U_{\text{Max}}&=0.436\\V_{\text{Max}}&=0.615\end{aligned}} }[/math]
  • RGB → YUV
[math]\displaystyle{ \begin{bmatrix} Y' \\ U \\ V \end{bmatrix} = \begin{bmatrix} 0.299 & 0.587 & 0.114 \\ -0.14713 & -0.28886 & 0.436 \\ 0.615 & -0.51499 & -0.10001 \end{bmatrix} \begin{bmatrix} R \\ G \\ B \end{bmatrix} }[/math]
  • YUV → RGB
[math]\displaystyle{ \begin{bmatrix} R \\ G \\ B \end{bmatrix} = \begin{bmatrix} 1 & 0 & 1.13983 \\ 1 & -0.39465 & -0.58060 \\ 1 & 2.03211 & 0 \end{bmatrix} \begin{bmatrix} Y' \\ U \\ V \end{bmatrix} }[/math]

3 HDTV with BT.709[ | ]

[math]\displaystyle{ \begin{align} W_R &= 0.2126 \\ W_B &= 0.0722 \\ \end{align} }[/math]
  • RGB → YUV
[math]\displaystyle{ \begin{bmatrix} Y' \\ U \\ V \end{bmatrix} = \begin{bmatrix} 0.2126 & 0.7152 & 0.0722 \\ -0.09991 & -0.33609 & 0.436 \\ 0.615 & -0.55861 & -0.05639 \end{bmatrix} \begin{bmatrix} R \\ G \\ B \end{bmatrix} }[/math]
  • YUV → RGB
[math]\displaystyle{ \begin{bmatrix} R \\ G \\ B \end{bmatrix} = \begin{bmatrix} 1 & 0 & 1.28033 \\ 1 & -0.21482 & -0.38059 \\ 1 & 2.12798 & 0 \end{bmatrix} \begin{bmatrix} Y' \\ U \\ V \end{bmatrix} }[/math]

4 같이 보기[ | ]

5 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}