DeSaltPepper
From Avisynth wiki
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
- AviSynth 2.5.8 or 2.6.0 Alpha 5 or greater
- Supported color formats: YUY2, YV12, *YV16, *YV24, *YV411, *Y8
- * 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.
- clip =
- opt string = "both"
- "salt" type or "pepper" type or "both" types to be cleaned .
- opt string = "both"
- tol int = 0
- 0 to 5 . up to this value noise is tolerated .
- tol int = 0
- uv bool = true
- in case of YUY2 or Planar u and v planes are also to be cleaned .
- uv bool = true
- avg bool = true
- use average as replacement value. Otherwise lowest or highest of rest .
- avg bool = true
- feedback int = 0
- number of feed back loops to be used.0 to 10.
- feedback int = 0
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 ←