Quote:
Originally Posted by JohnnyMalaria
i.e., new chroma = old chroma - average of all chroma values in reference frame ( + the zero offset, e.g., 128 for unsigned 8-bit representation)
Our software uses this method. I'm sure AVISynth has all the necessary mathematical functions to do it, too.
|
I think this is what ColorYUV(autowhite=true) does, except that it doesn't use a reference frame, so the
documentation has a caveat:
Quote:
But be careful - it isn't very intelligent - if your material is a clear blue sky, autowhite will make it completely grey!
|
It could certainly be done (including reference frame) using ScriptClip and AverageChromaU/V.