homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients ezio.melotti, mark.dickinson, packetslave, serhiy.storchaka, terry.reedy
Date 2013年01月08日.09:16:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1357636585.02.0.490130673324.issue14323@psf.upfronthosting.co.za>
In-reply-to
Content
According to Wikipedia FCC conversion is defined as:
 y = 0.30*r + 0.59*g + 0.11*b
 i = 0.5990*r - 0.2773*g - 0.3217*b
 q = 0.2130*r - 0.5251*g + 0.3121*b
and non-FCC conversion is defined as:
 y = 0.299*r + 0.587*g + 0.114*b
 i = 0.595716*r - 0.274453*g - 0.321263*b
 q = 0.211456*r - 0.522591*g + 0.311135*b
Our current code
 y = 0.30*r + 0.59*g + 0.11*b
 i = 0.60*r - 0.28*g - 0.32*b
 q = 0.21*r - 0.52*g + 0.31*b
looks like FCC conversion with the precision of two decimal places. Actually with this precision the difference between the different conversions are almost absent.
History
Date User Action Args
2013年01月08日 09:16:25serhiy.storchakasetrecipients: + serhiy.storchaka, terry.reedy, mark.dickinson, ezio.melotti, packetslave
2013年01月08日 09:16:25serhiy.storchakasetmessageid: <1357636585.02.0.490130673324.issue14323@psf.upfronthosting.co.za>
2013年01月08日 09:16:24serhiy.storchakalinkissue14323 messages
2013年01月08日 09:16:24serhiy.storchakacreate

AltStyle によって変換されたページ (->オリジナル) /