DeSaltPepper
From Avisynth wiki
(Difference between revisions)
m |
|||
(2 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
− | + | {{FilterCat|External_filters|Plugins|Denoisers}} | |
− | {{ | + | |
− | + | ||
{{Filter3 | {{Filter3 | ||
− | |1= | + | |1={{Author/vcmohan}} |
− | |2= | + | |2=14 Oct 2015 |
− | |3= | + | |3=[http://www.avisynth.nl/users/vcmohan/DeSaltPepper/DeSaltPepper_2_6.zip DeSaltPepper_2_6.zip] |
− | |4= | + | |4=External filters |
− | |5= | + | |5=[https://www.gnu.org/licenses/gpl-2.0.txt GPLv2] |
− | |6= | + | |6=[https://forum.doom9.org/showthread.php?p=895926#post895926 Doom9 Forum]}} |
<br> | <br> | ||
Line 14: | Line 12: | ||
<!-- a one-sentence description --> | <!-- a one-sentence 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. [http://www.avisynth.nl/users/vcmohan/DeSaltPepper/DeSaltPepper.html Full Description]. | |
+ | |||
+ | *For AviSynth+ see [[modPlus]], includes high bit depth colorspace support and 64-bit. | ||
<br> | <br> | ||
== Requirements == | == Requirements == | ||
− | * AviSynth+ | + | * [x86]: [[AviSynth+]] or [https://sourceforge.net/projects/avisynth2/ AviSynth 2.6] |
+ | * Supported color formats: [[RGB24]], [[RGB32]], [[YUY2]], [[Y8]], [[YV12]], [[YV16]], [[YV24]] | ||
<br> | <br> | ||
== [[Script variables|Syntax and Parameters]] == | == [[Script variables|Syntax and Parameters]] == | ||
− | :{{Template:FuncDef| | + | :{{Template:FuncDef| DeSaltPepper (clip, string "opt", int "tol", bool "uv", bool "avg", int "feedback")}} |
<br> | <br> | ||
::{{Par2| |clip| }} | ::{{Par2| |clip| }} | ||
Line 28: | Line 29: | ||
<br> | <br> | ||
::{{Par2|opt|string|"both"}} | ::{{Par2|opt|string|"both"}} | ||
− | ::: Process option | + | ::: Process option: |
− | + | :::* "salt" | |
− | + | :::* "pepper" | |
− | + | :::* "both" | |
+ | <br> | ||
+ | ::{{Par2|tol|int|0}} | ||
+ | :::Tolerance limit which is not noise. | ||
+ | :::Range: -5 to 5 | ||
<br> | <br> | ||
::{{Par2|uv|bool|true}} | ::{{Par2|uv|bool|true}} | ||
::: UV processing required? | ::: UV processing required? | ||
− | + | :::* true for u, v process | |
− | + | :::* false for not processing u, v | |
<br> | <br> | ||
::{{Par2|avg|bool|true}} | ::{{Par2|avg|bool|true}} | ||
Line 44: | Line 49: | ||
<br> | <br> | ||
::{{Par2|feedback|int|0}} | ::{{Par2|feedback|int|0}} | ||
− | ::: Number of feed back loops in processing to be used. | + | ::: Number of feed back loops in processing to be used. Applicable only if <code>avg=true</code>. |
− | :::: | + | :::Range: 0 to 10 |
<br> | <br> | ||
== Examples == | == Examples == | ||
− | + | DeSaltPepper with default values: | |
− | + | [[AviSource]]("blah.avi") | |
− | + | DeSaltPepper(opt="both", uv=true, tol=0, avg=true, feedback=3 ) | |
− | + | <br> | |
− | + | ||
− | + | ||
− | + | ||
<br> | <br> | ||
----------------------------------------------- | ----------------------------------------------- | ||
− | '''Back to [[External_filters|External Filters]] ←''' | + | '''Back to [[External_filters#Denoisers|External Filters]] ←''' |
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
- clip =
- string opt = "both"
- Process option:
- "salt"
- "pepper"
- "both"
- Process option:
- string opt = "both"
- int tol = 0
- Tolerance limit which is not noise.
- Range: -5 to 5
- int tol = 0
- bool uv = true
- UV processing required?
- true for u, v process
- false for not processing u, v
- UV processing required?
- bool uv = true
- bool avg = true
- Is average is replacement value?
- true for average
- false for max value of neighborhood for salt and minimum value for pepper
- Is average is replacement value?
- bool avg = true
- int feedback = 0
- Number of feed back loops in processing to be used. Applicable only if
avg=true
. - Range: 0 to 10
- Number of feed back loops in processing to be used. Applicable only if
- int feedback = 0
[edit] Examples
DeSaltPepper with default values:
AviSource("blah.avi") DeSaltPepper(opt="both", uv=true, tol=0, avg=true, feedback=3 )
Back to External Filters ←