AWarpSharpDering: Difference between revisions
From Avisynth wiki
Jump to navigationJump to search
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{ | {{FilterCat4|External_filters|Scripts|Restoration_filters|Deringing & Mosquito Noise}} | ||
{{ | {{Filter3 | ||
|[http://leak.no-ip.org/AviSynth/ Leak] | |[http://leak.no-ip.org/AviSynth/ Leak] | ||
|1. | |1.1 | ||
|[aWarpSharpDering] | |[[Media:aWarpSharpDering.avsi|aWarpSharpDering.avsi]] | ||
|Deringing & Mosquito Noise | |Deringing & Mosquito Noise | ||
| | | | ||
|}} | |}} | ||
== Description == | == Description == | ||
Tries to clean up slight ringing around edges by heavily aWarpSharp-ing the image and then applying it only to the areas where the difference is small enough so detail isn't destroyed.<br> | |||
<br> | <br> | ||
===== Required | == 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]] | |||
==== Required Plugins ==== | |||
Latest versions of the following filters are recommended unless stated otherwise.<br> | |||
*<strike>[[aWarpSharp]]</strike> | |||
*[[aWarpSharp2]] - recommended drop-in replacement for aWarpSharp. | |||
*[[MaskTools2]] | |||
<br> | <br> | ||
== Syntax and Parameters == | == [[Script variables|Syntax and Parameters]] == | ||
:{{Template:FuncDef| | :{{Template:FuncDef|aWarpSharpDering (clip source, int "depth",int "diffthresh",int "lumathresh",int "debug")}} | ||
<br> | <br> | ||
::{{ | ::{{Par2|source|clip| }} | ||
::: | :::Input clip. | ||
<br> | <br> | ||
::{{ | ::{{Par2|depth|int|32}} | ||
:::Depth value of aWarpSharp. | |||
<br> | |||
::{{Par2|diffthresh|int|8}} | |||
:::Differences between the source and the sharpened clip, larger than this will not be touched. | :::Differences between the source and the sharpened clip, larger than this will not be touched. | ||
:::The smaller the difference the more of the sharpened clip will be used. | :::The smaller the difference the more of the sharpened clip will be used. | ||
<br> | <br> | ||
::{{ | ::{{Par2|lumathresh|int|32}} | ||
:::Since the ringing is mostly notable in bright places this threshold will prevent dark areas from being hit too hard, for instance line work will be preserved. | :::Since the ringing is mostly notable in bright places this threshold will prevent dark areas from being hit too hard, for instance line work will be preserved. | ||
<br> | <br> | ||
== Examples == | == Examples == | ||
aWarpSharpDering with default settings: | |||
[[AviSource]]("Blah.avi") | [[AviSource]]("Blah.avi") | ||
aWarpSharpDering(depth=32, diffthresh=8, lumathresh=32) | |||
<br> | <br> | ||
== Changelog == | == Changelog == | ||
Version Date Changes<br> | |||
1.1 2015/06/14 - Update to use MaskTools2 and other minor corrections. | |||
1.0 2006/07/06 - Initial release[http://leak.no-ip.org/AviSynth/AWarpSharpDering/] | |||
<br> | |||
==External Links == | |||
<br> | |||
<br> | <br> | ||
----------------------------------------------- | |||
'''Back to [[External_filters#Deringing_.26_Mosquito_Noise|External Filters]] ←''' | |||
Latest revision as of 14:00, 15 June 2015
| Abstract | |
|---|---|
| Author | Leak |
| Version | 1.1 |
| Download | aWarpSharpDering.avsi |
| Category | Deringing & Mosquito Noise |
| License | |
| Discussion | |
Description
Tries to clean up slight ringing around edges by heavily aWarpSharp-ing the image and then applying it only to the areas where the difference is small enough so detail isn't destroyed.
Requirements
- AviSynth 2.5.8 or later
- Progressive input only
- Supported color formats: YV12
Required Plugins
Latest versions of the following filters are recommended unless stated otherwise.
aWarpSharp- aWarpSharp2 - recommended drop-in replacement for aWarpSharp.
- MaskTools2
- aWarpSharpDering (clip source, int "depth",int "diffthresh",int "lumathresh",int "debug")
- clip source =
- Input clip.
- clip source =
- int depth = 32
- Depth value of aWarpSharp.
- int depth = 32
- int diffthresh = 8
- Differences between the source and the sharpened clip, larger than this will not be touched.
- The smaller the difference the more of the sharpened clip will be used.
- int diffthresh = 8
- int lumathresh = 32
- Since the ringing is mostly notable in bright places this threshold will prevent dark areas from being hit too hard, for instance line work will be preserved.
- int lumathresh = 32
Examples
aWarpSharpDering with default settings:
AviSource("Blah.avi") aWarpSharpDering(depth=32, diffthresh=8, lumathresh=32)
Changelog
Version Date Changes
1.1 2015/06/14 - Update to use MaskTools2 and other minor corrections. 1.0 2006/07/06 - Initial release[1]
External Links
Back to External Filters ←