Pops 0.1

    Pops filter for virtualdub - Copyright 2002 Valentim Batista
    
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

    The author can be contacted at:
    Valentim Batista
    vb@timsara.freeservers.com
    timsara.freeservers.com


This filter was built to remove or smooth pops, near white or near black spots and streaks that appear in some bad film copies translations to video, by temporally processing the picture.
This filter is still under development but it is already fully functional although conservative settings are advisable, large stability window and small spot width should reject false positives.
There are 8 settings:

  • Threshold - how much variation can pixels have and still be considered stable (in bits)
  • Black Level (luminance) - a spot must be "black" on "white" or "white" on "black" (0-255 scale)
  • White Level (luminance) - works as Black Level
  • Color tolerance - a spot must be gray not coloured - maximum delta between RGB (0-255 scale)
  • Maximum pop width - limits action skipping frames (negative in debug) where false positives could be (in pixels)
  • Stability window (frames) - number of inspected frames for stability (input frame is 0, output is 2, a 2 frames lag)
  • Denoise - a optional denoising (temporal averaging) on color stable zones that aren't despoted
  • Debug - when on translates actions into colors:
  • Dark Red - area considered stable without variations
  • Brown - area considered stable with a small variation - ellegible for denoising
  • Red - area considered stable with a variation - too isolated to despoting
  • Blue - area considered stable with a variation - weak despoting
  • Green - area considered stable with a good variation - medium despoting
  • White - area considered stable with a very good variation - maximum despoting

  • 2002/05/16