VirtualDub MSU Smart Brightness and Contrast Filter

Version 1.01 - parameters saving to JOB files fixed

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

Main features

Settings

In the filter’s setting:

Filters main window

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 image will exceed these borders after brightness / contrast correction, these 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)

Examples

We shall compare Smart Brightness and Contrast Filter to Photoshop filter using a portrait of M. Lomonosov as the first example.

Source image
Source image
Image processed by Photoshop
Image processed by Photoshop
Image processed by the Filter
Image processed by the Filter

Let us zoom in so as to see the differences better and take a close look at areas outlined in red.

Source image
Source image
Image processed by Photoshop
Image processed by Photoshop
Image processed by the Filter
Image processed by the Filter

The left histogram tells that Photoshop cares little about bright and dark pixels, it simply washes or blacks them out. The right one tells that the filter tends to keep maximum detail and takes good care of bright and dark pixels.

And one more similar example with histograms.

Source image
Source image
Histogram of source image
Histogram of source image
Image processed by Photoshop
Image processed by Photoshop
Image processed by the Filter
Image processed by the Filter
Histogram
Histogram
Histogram
Histogram
MSU_2
Frames from sequence MSU.avi:
MSU_1

Download

10 Mar 2011
See Also
Automatic local color correction in S3D video
Stereo video may contain a huge color discrepancy. Most of the problems are hard to eliminate because of possible different distortions in each area in the frame.
MSU Video Group / Video data filtering and compession
VirtualDub MSU Logo Remover
The filter is intended to remove logo from films
MSU Stereo To Multiview 3D Video Conversion ( Glasses-free 3D-Displays Video Content creation)
Stereo to multiview video conversion algorithm for glasses-free autostereoscopic 3D displays
MSU Video Group / Video data filtering and compession
MSU Videogroup Filters. Frequently Asked Questions.
Frequently Asked Questions
Site structure