Welcome, Guest. Please login or register.

Author Topic: RGB<->YUV Formulas?  (Read 3203 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline lorddef

  • Hero Member
  • *****
  • Join Date: Apr 2002
  • Posts: 1146
    • Show all replies
    • http://
Re: RGB<->YUV Formulas?
« on: April 13, 2003, 02:13:44 PM »
Well according to my multimedia lecture notes from uni, for PAL signals:

Y = 0.30R + 0.59G + 0.11B
U = 0.493 (B - Y) = -0.15R - 0.29G + 0.44B
V = 0.877 (R - Y) = 0.62R - 0.52G - 0.1B

hope that helps.
Restraining orders are just another way of saying I love you!
 

Offline lorddef

  • Hero Member
  • *****
  • Join Date: Apr 2002
  • Posts: 1146
    • Show all replies
    • http://
Re: RGB<->YUV Formulas?
« Reply #1 on: April 13, 2003, 03:38:28 PM »
just do a bit of algebra to transpose them around, that'll give you the reverse formulas.
Restraining orders are just another way of saying I love you!
 

Offline lorddef

  • Hero Member
  • *****
  • Join Date: Apr 2002
  • Posts: 1146
    • Show all replies
    • http://
Re: RGB<->YUV Formulas?
« Reply #2 on: April 13, 2003, 04:20:55 PM »
it'd take all of 5 minutes
Restraining orders are just another way of saying I love you!