Log in

View Full Version : High Contrast Video


bxyhxyh
11th March 2014, 07:24
Sorry if i'm opening threads so close.
New problem here. (haha)

How to fix high contrasted videos?
Episode 1 is ok. But ep2 is too bright.

I've tried levels() and tweak() as first try. I couldn't find good values. And it is too time consuming.
Then I've used neuron2's windowed histogram equalizer with vdub.
It seems work but result is not good.

Is there any similar good filters?

I still think correcting levels and adjusting brightness and contrast will work, without any "special" filters.
Is there any hints to choose good values on similar problem?

ep1
https://farm8.staticflickr.com/7402/13077201203_d00e46e32e_o.png

ep2
https://farm3.staticflickr.com/2318/13077080735_55f5139313_o.png

ep2 filtered with neuron2's histogram equalizer
https://farm4.staticflickr.com/3401/13077389724_a74ed46eeb_o.png

poisondeathray
11th March 2014, 16:47
colourlike comes very close automatically (this way you won't have to adjust it by scene, if the differences change by scene), but requires mod4 I think

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

(cropped 2 pixels in this example to 704width, and tweak(sat=0.98, coring=false) )
before
http://i62.tinypic.com/2dan85u.png

after
http://i58.tinypic.com/29xisk0.png


EDIT: sorry I wasn't thinking :( . No coffee yet... you're not trying to match episode2 to 1, just trying to "fix" different episodes. Try this:

levels(0,0.8,255,10,240,false)
tweak(sat=1.15,coring=false)

bxyhxyh
11th March 2014, 18:27
Thanks poisondeathray.
Colourlike is very interesting filter.
I was trying to match episode 2 to episode 1 too.

osgZach
13th March 2014, 01:32
This seems like something a simple brightness reduction should fix. The simplest solution is often the best..
I generally don't tweak these things in Avisynth because the tools tend to be over complicated / confusing for the minor tweaking I do.

You could always try Virtualdub or another editor that lets you tweak Brightness / Contrast / Gamma

bxyhxyh
13th March 2014, 10:30
Yes, I've used masktool for brightness reduction. But first I've needed correct values.
I used this.
mt_lut(yexpr="x 255 / 1 0.8 / ^ 215 * 20 + 15 - 1.1 *",u=2,v=2)

raffriff42
14th March 2014, 01:35
Unfortunately, all detail in the highlights has been lost. You can best see it if you convert to RGB and use HistogramRGBParade (http://forum.doom9.org/showthread.php?p=1570968#post1570968).
https://www.dropbox.com/s/9phc1m40e1zo3w3/hc_epr1.jpg?raw=1
https://www.dropbox.com/s/ccygccpyntd0p0z/hc_epr2%2Blevels.jpg?raw=1
After trying some things, I could not do much better than simply calling Levels(16, 0.82, 255, 16, 232). (2nd image above)