DeSaltPepper

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
m (Examples)
m
 
Line 1: Line 1:
 
{{FilterCat|External_filters|Plugins|Denoisers}}
 
{{FilterCat|External_filters|Plugins|Denoisers}}
 
{{Filter3
 
{{Filter3
|1=[http://www.avisynth.nl/users/vcmohan/ V.C.Mohan]
+
|1={{Author/vcmohan}}
 
|2=14 Oct 2015
 
|2=14 Oct 2015
 
|3=[http://www.avisynth.nl/users/vcmohan/DeSaltPepper/DeSaltPepper_2_6.zip DeSaltPepper_2_6.zip]
 
|3=[http://www.avisynth.nl/users/vcmohan/DeSaltPepper/DeSaltPepper_2_6.zip DeSaltPepper_2_6.zip]

Latest revision as of 20:17, 7 June 2020

Abstract
Author V. C. Mohan
Version 14 Oct 2015
Download DeSaltPepper_2_6.zip
Category External filters
License GPLv2
Discussion Doom9 Forum


Contents

[edit] Description

DeSaltPepper 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.


  • For AviSynth+ see modPlus, includes high bit depth colorspace support and 64-bit.


[edit] Requirements


[edit] Syntax and Parameters

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


clip   =
Input clip


string  opt = "both"
Process option:
  • "salt"
  • "pepper"
  • "both"


int  tol = 0
Tolerance limit which is not noise.
Range: -5 to 5


bool  uv = true
UV processing required?
  • true for u, v process
  • false for not processing u, v


bool  avg = true
Is average is replacement value?
  • true for average
  • false for max value of neighborhood for salt and minimum value for pepper


int  feedback = 0
Number of feed back loops in processing to be used. Applicable only if avg=true.
Range: 0 to 10


[edit] Examples

DeSaltPepper with default values:

AviSource("blah.avi")
DeSaltPepper(opt="both", uv=true, tol=0, avg=true, feedback=3 )  




Back to External Filters

Personal tools