PDA

View Full Version : Filter for automatic color / brightness / contrast correction?


Snollygoster
6th April 2003, 13:20
Hello, sorry if this has been mentioned before...

I was playing with ffdshow's postprocessing options and there is a really good color correction going on there.

I mean my encoding is really dark and old-looking and with these postprocessing options it gets much better...

Is there any avisynth filter that will do that in a kinda-automatic way? I am really a rookie with luma / chroma values so I do not want to mess it up with wrong values.

Thank you all,
I appreciate any replies.

wotef
6th April 2003, 14:34
coloryuv has autowhite and autogain - don't know of any for colour except tweak

sh0dan
6th April 2003, 15:22
On the other hand autowhite is very naiive, and should only be used at a single scene at the time.

But the ColorYUV is the best filter, but you need to find the values yourself, as there is no "safe" way of doing this.

ffdshow "Levels" can be directly translated into AviSynth "levels()".
Syntax is: levels("Input" leftslider, "Gamma correction, "Input" Right slider, "output" left, "output" right).

"Picture properties":
Luminance gain = Coloryuv(gain_y=(value-128)*2)
Luminance offset = Coloryuv(off_y=value)
Gamma = coloryuv(gamma_y=256.0*value)
Hue = Tweak(hue=value)
Saturation = Tweak(sat=value/100.0)

But there are many more options in AviSynth - check out the docs.

Snollygoster
6th April 2003, 19:35
Thanx for the replies people, I'll give these a try and then come back to you with feedback.