|
|
On Thu, 10 Oct 2002 20:43:18 +0300, Vahur Krouverk <vkr### [at] starmanee>
wrote:
> There is no 'correct' conversion. But YIQ model, which is probably most
> used, uses values 0.299, 0.587, 0.114, which are pretty close to
> GREY_SCALE macro. I think that best would be to go with these values.
> Strange value 0.229 in image.cpp is probably typo.
> For definitive information check out colorspace faq:
> http://www.faqs.org/faqs/graphics/colorspace-faq/
fncode.cpp : 0.297,0.589,0.114
image.cpp : 0.229,0.587,0.114
targa.cpp : 0.30 ,0.59 ,0.11
libsdl : 0.299,0.687,0.114 as you suggested
Not a big difference but could be nice to hold unique values in whole package.
I included such modification in PoPOV.
ABX
Post a reply to this message
|
|