EdgeCleaner
From Avisynth wiki
(Difference between revisions)
m (→Parameters) |
|||
Line 6: | Line 6: | ||
|Deringing & Mosquito Noise | |Deringing & Mosquito Noise | ||
| | | | ||
− | * YV12 | + | * [[YV12]] |
|}} | |}} | ||
− | == | + | == Description == |
:A simple edge cleaning and weak dehaloing function. | :A simple edge cleaning and weak dehaloing function. | ||
==== Required Filters ==== | ==== Required Filters ==== | ||
Line 16: | Line 16: | ||
:*[[MaskTools2]] 2.0a48+ | :*[[MaskTools2]] 2.0a48+ | ||
<br> | <br> | ||
− | + | == Syntax and Parameters == | |
− | == 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> | ||
::{{Par|strength|int|10}} | ::{{Par|strength|int|10}} | ||
− | :::specifies edge denoising strength.<br> | + | :::specifies edge denoising strength. |
+ | <br> | ||
::{{Par|rep|bool|true}} | ::{{Par|rep|bool|true}} | ||
:::Activates Repair for the aWarpSharped clip (true; requires Repair) | :::Activates Repair for the aWarpSharped clip (true; requires Repair) | ||
+ | <br> | ||
::{{Par|rmode|int|17}} | ::{{Par|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. | ||
::::*Mode 16 and 18 are good to preserve edge structure on strong settings but keep more halos and edge noise, | ::::*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).<br> | + | ::::*Mode 17 is similar to 16 but keeps much less haloing, other modes are not recommended (17; requires Repair). |
+ | <br> | ||
::{{Par|smode|int|0}} | ::{{Par|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 | ||
::::* 1 : use [[RemoveGrain]] | ::::* 1 : use [[RemoveGrain]] | ||
− | ::::* 2 : use [[Deen]]<br> | + | ::::* 2 : use [[Deen]] |
+ | <br> | ||
::{{Par|hot|bool|false}} | ::{{Par|hot|bool|false}} | ||
:::Specifies whether removal of hot pixels should take place. | :::Specifies whether removal of hot pixels should take place. |
Revision as of 04:53, 8 November 2013
Abstract | |
---|---|
Author | canuckerfan |
Version | 1.04 |
Download | [EdgeCleaner] |
Category | Deringing & Mosquito Noise |
Requirements | |
License | |
Discussion |
Contents |
Description
- A simple edge cleaning and weak dehaloing function.
Required Filters
- aWarpSharp2
- MaskTools2 2.0a48+
Syntax and Parameters
- EdgeCleaner(clip c, int "strength", bool "rep", int "rmode", int "smode", bool "hot")
- strength int = 10
- specifies edge denoising strength.
- strength int = 10
- rep bool = true
- Activates Repair for the aWarpSharped clip (true; requires Repair)
- rep bool = true
- rmode int = 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:
- rmode int = 17
- smode int = 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:
- smode int = 0
- hot bool = false
- Specifies whether removal of hot pixels should take place.
- hot bool = 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.