[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-kimageshop
Subject: Re: What coefficients does Krita use for YUV/YCbCr?
From: Cyrille Berger <cberger () cberger ! net>
Date: 2007-05-23 20:57:19
Message-ID: 200705232257.20079.cberger () cberger ! net
[Download RAW message or body]
Hi
On Wednesday 23 May 2007, Matthew Woehlke wrote:
> 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?
Krita 1.6 is hard coded to use 601. While for 2.0 the plan is to allow use any
coefficients, even non common :)
601 coefficients are the default for TIFF. I guess that for your use any of
the coeffcients are good enought anyway.
--
Cyrille Berger
_______________________________________________
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