[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-kimageshop
Subject:    What coefficients does Krita use for YUV/YCbCr?
From:       Matthew Woehlke <mw_triad () users ! sourceforge ! net>
Date:       2007-05-23 20:37:29
Message-ID: f328m9$516$1 () sea ! gmane ! org
[Download RAW message or body]

I don't know if anyone follows k-c-d, but I'm working on a color 
blending function for kdelibs that will support HSY color space (like 
HSL but with luma as in YUV/YCbCr color spaces). Alas, there are two 
common sets of coefficients used to calculate Y:

601: Y' = 0.299  R' + 0.587  G' + 0.114  B'
709: Y' = 0.2126 R' + 0.7152 G' + 0.0722 B'

I figure this is probably the best place to ask; which would be better 
to use in kdelibs (or should I offer /both/)? Which does Krita use?

-- 
Matthew
"I can hear you / just barely hear you / I can just barely hear you"
   -- "I Can Hear You", by They Might Be Giants

_______________________________________________
kimageshop mailing list
kimageshop@kde.org
https://mail.kde.org/mailman/listinfo/kimageshop
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic