#96 Change ConvertToRGB to allow custom matrix

open
nobody
Filters (44)
5
2007-09-20
2007-09-20
Anonymous
No

Considering the current engine of ConvertToRGB is capable of:
D = (S + A) * B + C
i.e.
[d] ([s] [a]) [b b b] [c]
[d] = (|s| + |a|) * |b b b| + |c|
[d] ([s] [a]) [b b b] [c]

with matrices A and C being mutually exclusive, I would like to request the possibility of allowing a custom matrix for the YUV->RGB conversion, with the user specification of the 12 values of the matrices A and B. With this we can use this filter for converting the RGB values for an RGB space with a different set of primaries, during the conversion from YUV.

For a more detailed explanation see thread "Change ConvertToRGB to consider display primaries" in Doom's 9 Forum Avisynth Development:

http://forum.doom9.org/showthread.php?t=127575

Thanks.

yesgrey3(at)yahoo.com

Discussion