WeedFN


Author V. C. Mohan
Date Dec 11, 2006
EMail: mohanvc

WeedFN plugin for Avisynth 2.5 version, is free and the author does not give any guarentee for its operation. It may be downloaded and used at the users risk.

This plugin works in spatial domain and tries to remove low level noise. It examines input over a given span and if the center point is within the tolerance then replaces it by a calculated value. If the deviation is larger then assuming it to be signal does not alter it. This can work on all color planes of RGB or on Y and U and V planes. Some (color) noise seen on mpeg clips can be attenuated, selecting appropriate color planes for processing. Tolerance of 2 to 5 may be a good choice.

span and tolerances can be set different for each plane if desired. This plugin works in RGB32, RGB24, YUY2 and YV12 color spaces only.


Details of parameters
Description Name Type Limits Default
Input clip clip none
span for red or Y plane span integer Odd number, 5 to 1/8 of frame smaller dimension 9
tolerance for red or Y plane tol integer 1 to 10 2
Whether red or Y plane is to be filtered ry boolean true, false true
Whether green or u plane is to be filtered gu boolean true, false true
Whether blue or v plane is to be filtered bv boolean true, false true
span for green or U plane uspan integer Odd number, 5 to 1/8 of frame smaller dimension span
tolerance for green or u plane utol integer 1 to 10 tol
span for blue or v plane vspan integer Odd number, 5 to 1/8 of frame smaller dimension span
tolerance for blue or v plane vtol integer 1 to 10 tol

Usage examples
WeedFN()
WeedFN(gu = false, vtol = 5)
following script used to get the images below in YUY2 color space:
wf = weedFN( span = 9, tol = 4)
sf = subtract(last, wf ).Levels(125,1,135,0,255)

input :-

output wf :-

Subtract sf ;-
To my index page ................................ To Avisynth