DeSaltPepper

From Avisynth wiki
Jump to: navigation, search


Abstract
Author V.C.Mohan
Version 1.0.0.0.0
Download 2.5.8 versionDeSaltPepper 2.6.0 alpha5 version URL -->DeSaltPepper
Category External filters
License GPLv2
Discussion Announced DeSaltPepper plugin


Contents

Description

Impulsive noise appears on images either as relatively white (salt) or as relatively black dots (pepper)and such noises are cleaned by this plugin and a full description is at click me.

Requirements

* Not available in AviSynth 2.5.8.


c[opt]s[tol]i[uv]b[avg]b[feedback]i

Syntax and Parameters

DeSaltPepper(clip, string "opt", int "tol", bool "uv ",bool avg", int "feedback")


clip   =
Input clip.


opt  string = "both"
"salt" type or "pepper" type or "both" types to be cleaned .


tol  int = 0
0 to 5 . up to this value noise is tolerated .


uv  bool = true
in case of YUY2 or Planar u and v planes are also to be cleaned .


avg  bool = true
use average as replacement value. Otherwise lowest or highest of rest .


feedback  int = 0
number of feed back loops to be used.0 to 10.




Examples

## This is some example code to remove noise from an image.
imagereader("C:\avi_plugins\varianslim\theoin.jpg", end = 10)
converttoyv16()
ds = DeSaltPepper(imgl, opt = "both",UV = true, tol = 0, avg = true, feedback = 3 )
ds1 = DeSaltPepper(imgl, opt = "salt",UV = false, tol = 4, avg = false, feedback = 10)
ds2 = DeSaltPepper(imgl, opt = "pepper",UV = false, tol = 3, avg = true, feedback = 0)



Back to External Filters

Personal tools