DeSaltPepper
From Avisynth wiki
(Difference between revisions)
(modPlus modifications) |
m |
||
Line 5: | Line 5: | ||
|1=<!-- author --> [http://www.avisynth.nl/users/vcmohan/ V.C.Mohan] | |1=<!-- author --> [http://www.avisynth.nl/users/vcmohan/ V.C.Mohan] | ||
|2=<!-- version --> 17 Oct 2017 | |2=<!-- version --> 17 Oct 2017 | ||
− | |3=<!-- URL --> [http://www.avisynth.nl/users/vcmohan/modPlus/modPlus.7z | + | |3=<!-- URL --> [http://www.avisynth.nl/users/vcmohan/modPlus/modPlus.7z modPlus.7z] |
|4=<!-- category --> External filters | |4=<!-- category --> External filters | ||
|5=<!-- license --> [https://www.gnu.org/licenses/gpl-2.0.txt GPLv2] | |5=<!-- license --> [https://www.gnu.org/licenses/gpl-2.0.txt GPLv2] |
Revision as of 06:01, 18 June 2018
Abstract | |
---|---|
Author | V.C.Mohan |
Version | 17 Oct 2017 |
Download | modPlus.7z |
Category | External filters |
License | GPLv2 |
Discussion | Announced DeSaltPepper plugin |
Description
The function SaltPepper uses morphology technique to identify such noise and replace those pixels by average or minimum or maximum whichever is appropriate of the surrounding pixels. Full Description.
Requires AviSynth+ r2347 or greater
Syntax and Parameters
- DeSaltPepper(clip, string "opt", bool "uv ",bool avg", int "feedback")
- clip =
- Input clip.
- clip =
- opt string = "both"
- Option of process.
- opt string = "both"
- uv bool = true
- UV processing required?
- uv bool = true
- avg bool = true
- Is average is replacement value?
- avg bool = true
- feedback int = 0
- Number of feed back loops in processing to be used. applicable only if avg is true. 0 to 10.
- feedback int = 0
Examples
SaltPepper(img, opt = "both",UV = true, tol = 0, avg = true, feedback = 3 )
ds = SaltPepper(img, opt = "both",UV = true) ds1 = SaltPepper(img, opt = "salt",UV = false, avg = false) ds2 = SaltPepper(ds1, opt = "pepper",UV = true)
Back to External Filters ←