VirtualDub MSU Smart Brightness and Contrast Filter

MSU Graphics & Media Lab (Video Group)

Version 1.01 - parameters saving to JOB files fixed

The filter allows to adjust image brightness and contrast with minimum loss of details, also supports automatic mode.

Main features

Settings

In the filter's setting:

Settings:
Brightness & Contrast Settings

  1. Contrast - contrast adjust (>1 - increase, <1 - decrease)
  2. Brightness - brightness shift
  3. Color Correction - >0 - increase color component, <0 - decrease color component
  4. Intraframe accuracy - threshold, if it is exceeded brightness & contrast coefficients are "blurred" for better details processing
Advanced Settings
  1. Histogram calculating - selecting histogram calculating method (for decreasing noise influence).
  2. Threshold percent - threshold, if you will increase it, the more number of details will be processed like a noise
  3. MIN brightness, MAX brightness- brightness borders. If some parts of mage will exceed this borders after brightness / contrast correction, this parameters will be recalculated.
  4. Scene change detection - watch on scene replacement
  5. Threshold - threshold, used for scene replacement detection

Script example for AviSynth


LoadVirtualDubPlugin("...\Virtual Dub\plugins\MSU_SmartBrightness.vdf","MSUSmartBrightness", 0)  
clip=AVISource("D:\Video\Samples\MSU.avi", false, "RGB24")
clip.ConvertToRGB32.MSUSmartBrightness(0, 150, 100, 0)



First parameter - number of brightness & contrast preset (0 - Auto (1): correcting manual settings, 1 - Auto (2): calculating contrast & brightness e.t.c. )
Second parameter - value of Contrast, multiplied by 100 (from 50 to 400)
̉hird parameter - value of Brightness
Fourth parameter - value ColorCorrection, multiplied by 100 (from -100 to 100)