Find Y from the xyz and the D65 white point instead of using the luma coefficients...
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 14 Oct 2012 01:12:32 +0000 (03:12 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 14 Oct 2012 01:12:32 +0000 (03:12 +0200)
commit4625d0a9601e33201f257c68392c4b1830388a79
treed93edaddf21f1dd7e7af61ca3d046bc5148eeed4
parent0490917aca6b8e6057c04c8becc820a8e849a801
Find Y from the xyz and the D65 white point instead of using the luma coefficients from the standards; for sRGB, that was right, but for Rec. 601 it certainly was not. (This was massively fiddly, but in the end became surprisingly simple.)
colorspace_conversion_effect.cpp