EdgeCleaner: Difference between revisions
From Avisynth wiki
Jump to navigationJump to search
No edit summary |
m minor update |
||
| Line 1: | Line 1: | ||
{{FilterCat|External_filters|Restoration_filters|Deringing & Mosquito Noise}} | {{FilterCat|External_filters|Restoration_filters|Deringing & Mosquito Noise}} | ||
{{ | [[Category:Scripts]] | ||
{{Filter3 | |||
|canuckerfan | |canuckerfan | ||
|1.04 | |1.04 | ||
|[EdgeCleaner] | |3=[http://forum.doom9.org/showpost.php?p=1568521&postcount=13 EdgeCleaner script] | ||
|Deringing & Mosquito Noise | |4=Deringing & Mosquito Noise | ||
| | |5= | ||
|6=[http://forum.doom9.org/showthread.php?t=164592 Doom9 Thread] | |||
}} | |||
== Description == | == Description == | ||
:A simple edge cleaning and weak dehaloing function. | :A simple edge cleaning and weak dehaloing function. | ||
==== Required | <br> | ||
== Requirements == | |||
:- AviSynth 2.5.8 or later | |||
:- [[FAQ_different_types_content#How_do_I_recognize_progressive.2C_interlaced.2C_telecined.2C_hybrid_and_blended_content.3F|Progressive]] input only | |||
:- Supported color formats: [[YV12]] | |||
<br> | |||
==== Required Plugins ==== | |||
:*[[aWarpSharp2]] | :*[[aWarpSharp2]] | ||
:*[[MaskTools2]] 2.0a48+ | :*[[MaskTools2]] 2.0a48+ | ||
<br> | <br> | ||
== Syntax and Parameters == | == [[Script variables|Syntax and Parameters]] == | ||
:{{Template:FuncDef|EdgeCleaner(clip c, int "strength", bool "rep", int "rmode", int "smode", bool "hot")}} | :{{Template:FuncDef|EdgeCleaner (clip c, int "strength", bool "rep", int "rmode", int "smode", bool "hot")}} | ||
<br> | <br> | ||
::{{ | ::{{Par2|strength|int|10}} | ||
:::specifies edge denoising strength. | :::specifies edge denoising strength. | ||
<br> | <br> | ||
::{{ | ::{{Par2|rep|bool|true}} | ||
:::Activates Repair for the aWarpSharped clip (true; requires Repair) | :::Activates Repair for the aWarpSharped clip (true; requires Repair) | ||
<br> | <br> | ||
::{{ | ::{{Par2|rmode|int|17}} | ||
:::Specifies the Repair mode: | :::Specifies the Repair mode: | ||
::::*Mode 1 is very mild and good for halos. | ::::*Mode 1 is very mild and good for halos. | ||
| Line 31: | Line 38: | ||
::::*Mode 17 is similar to 16 but keeps much less haloing, other modes are not recommended (17; requires Repair). | ::::*Mode 17 is similar to 16 but keeps much less haloing, other modes are not recommended (17; requires Repair). | ||
<br> | <br> | ||
::{{ | ::{{Par2|smode|int|0}} | ||
:::Specifies what method will be used for finding small particles, ie stars: | :::Specifies what method will be used for finding small particles, ie stars: | ||
::::* 0 : disabled | ::::* 0 : disabled | ||
| Line 37: | Line 44: | ||
::::* 2 : use [[Deen]] | ::::* 2 : use [[Deen]] | ||
<br> | <br> | ||
::{{ | ::{{Par2|hot|bool|false}} | ||
:::Specifies whether removal of hot pixels should take place. | :::Specifies whether removal of hot pixels should take place. | ||
<br> | <br> | ||
| Line 70: | Line 77: | ||
== Links == | == Links == | ||
*[http://forum.doom9.org/showthread.php?t=164592 Doom9 Forum] - EdgeCleaner discussion. | |||
<br> | |||
<br> | |||
<br> | |||
----------------------------------------------- | |||
'''Back to [[External_filters#Deringing_.26_Mosquito_Noise|External Filters]] ←''' | |||
Revision as of 14:20, 29 June 2014
| Abstract | |
|---|---|
| Author | canuckerfan |
| Version | 1.04 |
| Download | EdgeCleaner script |
| Category | Deringing & Mosquito Noise |
| License | |
| Discussion | Doom9 Thread |
Description
- A simple edge cleaning and weak dehaloing function.
Requirements
- - AviSynth 2.5.8 or later
- - Progressive input only
- - Supported color formats: YV12
Required Plugins
- aWarpSharp2
- MaskTools2 2.0a48+
- EdgeCleaner (clip c, int "strength", bool "rep", int "rmode", int "smode", bool "hot")
- int strength = 10
- specifies edge denoising strength.
- int strength = 10
- bool rep = true
- Activates Repair for the aWarpSharped clip (true; requires Repair)
- bool rep = true
- int rmode = 17
- Specifies the Repair mode:
- Mode 1 is very mild and good for halos.
- Mode 16 and 18 are good to preserve edge structure on strong settings but keep more halos and edge noise,
- Mode 17 is similar to 16 but keeps much less haloing, other modes are not recommended (17; requires Repair).
- Specifies the Repair mode:
- int rmode = 17
- int smode = 0
- Specifies what method will be used for finding small particles, ie stars:
- 0 : disabled
- 1 : use RemoveGrain
- 2 : use Deen
- Specifies what method will be used for finding small particles, ie stars:
- int smode = 0
- bool hot = false
- Specifies whether removal of hot pixels should take place.
- bool hot = false
Examples
AviSource("Blah.avi") EdgeCleaner()
Changelog
03/04/2012 v1.04 - adapted the code to work with SEt's updated aWarpSharp2 - removed the redundant fix parameter - increased default strength to 10
06/08/2008 v1.03 - improved mask that leaves less warping and more original line structure, therefore higher strengths are now safe to use - improved StarMask() - removed super mode - removed srep, sshiqloc, some smodes and VD_SmartSmoothHiQ() due to StarMask() changes
01/06/2008 v1.02 - added srep parameter - improved particle masking
01/06/2008 v1.01 - added masking for particles with two parameters; smode and sshiqloc
12/05/2008 v1.00 - removed line darkening, mode 2 mask, RemoveGrain - assert changed to colorspace conversion to yv12 - fixed some logic problems - "fixed" the aWarpSharp black pixel bug - added Repair
Links
- Doom9 Forum - EdgeCleaner discussion.
Back to External Filters ←