HQDering: Difference between revisions

From Avisynth wiki
Jump to navigationJump to search
No edit summary
Line 6: Line 6:
|Deringing & Mosquito Noise
|Deringing & Mosquito Noise
|
|
* YV12
* [[YV12]]
|}}
|}}
 
== Description ==
== Introduction ==
:Applies deringing by using a smart smoother near edges (where ringing occurs) only.
:Applies deringing by using a smart smoother near edges (where ringing occurs) only.
 
<br>
==== Required Filters ====
==== Required Filters ====
:*[[Deen]]
:*[[Deen]]
:*[[MaskTools2]] 2.0a48+
:*[[MaskTools2]] 2.0a48+
<br>
<br>
 
== Syntax and Parameters ==
== Parameters ==
:{{Template:FuncDef|HQDering(clip input, int "strength", int "overall", clip "smoother")}}
:{{Template:FuncDef|HQDering(clip input, int "strength", int "overall", clip "smoother")}}
<br>
<br>
::{{Par|strength|int|255}}
::{{Par|strength|int|255}}
::: Range: 0 - 255
:::Strength of deringing.
::::Strength of deringing.<br>
:::: Range: 0 - 255
<br>
::{{Par|overall|int|0}}
::{{Par|overall|int|0}}
::: Range: 0 - 255
:::Overall smoothing.
::::Overall smoothing.<br>
:::: Range: 0 - 255
<br>
::{{Par|smoother|clip|}}
::{{Par|smoother|clip|}}
::::Use a custom smoothed clip. If not defined, "Deen("a3d",4,15,15,20)" will be used by default.
:::Use a custom smoothed clip. If not defined, "Deen("a3d",4,15,15,20)" will be used by default.
<br>
<br>
== Examples ==
== Examples ==
Default:
Default:
  [[AviSource]]("Blah.avi")
  [[AviSource]]("Blah.avi")
  HQDering()
  HQDering()
 
<br>
 
Using a custom smoothed clip:
Using a custom smoothed clip:
  [[AviSource]]("Blah.avi")
  [[AviSource]]("Blah.avi")
Line 52: Line 50:
   03/03/2006  [http://forum.doom9.org/showpost.php?p=793930&postcount=4 v0.2]:  [foxyshadis]
   03/03/2006  [http://forum.doom9.org/showpost.php?p=793930&postcount=4 v0.2]:  [foxyshadis]
       - Changed syntax to use [[MaskTools2]]
       - Changed syntax to use [[MaskTools2]]
       - Slightly changed semantics
       - Slightly changed semantics.
         Makes using a custom smoothed clip much easier<br>
         Makes using a custom smoothed clip much easier<br>
   26/12/2003  [http://web.archive.org/web/20090423011804/http://mf.creations.nl/avs/functions/HQDering-v0.1.avs v0.1]:  [mf]
   26/12/2003  [http://web.archive.org/web/20090423011804/http://mf.creations.nl/avs/functions/HQDering-v0.1.avs v0.1]:  [mf]

Revision as of 05:57, 8 November 2013

Abstract
Author mf
Version v0.2
Download
Category Deringing & Mosquito Noise
Requirements
License
Discussion

Description

Applies deringing by using a smart smoother near edges (where ringing occurs) only.


Required Filters


Syntax and Parameters

HQDering(clip input, int "strength", int "overall", clip "smoother")


strength int = 255
Strength of deringing.
Range: 0 - 255


overall int = 0
Overall smoothing.
Range: 0 - 255


smoother clip =
Use a custom smoothed clip. If not defined, "Deen("a3d",4,15,15,20)" will be used by default.


Examples

Default:

AviSource("Blah.avi")
HQDering()


Using a custom smoothed clip:

AviSource("Blah.avi")
HQDering(strength=200, smoother=RemoveGrain(mode=4))


Another form of using a custom smoothed clip:

AviSource("Blah.avi")
smoothed = RemoveGrain(mode=4)
HQDering(strength=200, smoother=smoothed)



Changelog

 03/03/2006  v0.2:  [foxyshadis]
     - Changed syntax to use MaskTools2
     - Slightly changed semantics.
       Makes using a custom smoothed clip much easier
26/12/2003 v0.1: [mf] - initial release


- Original HQDering discussion thread
- Additional information on HQDering
- HQDering update by foxyshadis
- mf's script/plugin repository