vcm vapoursynth Plugin

#
vcm

## SaltPepper

## vcm.SaltPepper(clip [,planes = [3,3,3]][,tol = 3][,avg= 1] )

clip: Input clip. All formats except Compat accepted.
planes: array of 3 values specifying type of process for that plane. The plane set to 0 : no process, 1: Desalt, 2: DePepper, 3 : DeSalt and Depepper.All 3 should not be set to zero.
tol: tolerance above or below surrounding pixels to accept. Max 5.
avg: if salt or pepper found and if avg is set to 1, pixel value will be replaced by average of surrounding. If set to 0, nearest valid pixel value will be used.
This function removes impulsive noise on some images visible as white or black dots.