HQDering: Difference between revisions

From Avisynth wiki
Jump to navigationJump to search
m minor update
minor things
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{FilterCat|External_filters|Restoration_filters|Deringing & Mosquito Noise}}
{{FilterCat4|External_filters|Scripts|Restoration_filters|Deringing & Mosquito Noise}}
[[Category:Scripts]]
{{Filter3
{{Filter3
|{{Author/mf}}
|{{Author/mf}}
Line 10: Line 9:
}}
}}
== Description ==
== Description ==
: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>
<br>
<br>
== Requirements ==
== Requirements ==
:- AviSynth 2.5.8 or later
* 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  
* [[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]]
* Supported color formats: [[YV12]]
<br>
 
==== Required Plugins ====
=== Required Plugins ===
:*[[Deen]]
*[[Deen]] (beta 2)
:*[[MaskTools2]] 2.0a48+
*[[MaskTools2]]
<br>
<br>
== [[Script variables|Syntax and Parameters]] ==
== [[Script variables|Syntax and Parameters]] ==
:{{Template:FuncDef|HQDering(clip input, int "strength", int "overall", clip "smoother")}}
:{{Template:FuncDef|HQDering(clip input, int "strength", int "overall", clip "smoother")}}
<br>
::{{Par2|input|clip| }}
:::Input clip
<br>
<br>
::{{Par2|strength|int|255}}
::{{Par2|strength|int|255}}
:::Strength of deringing.
:::Strength of deringing.
:::: Range: 0 - 255
:::Range: 0 - 255
<br>
<br>
::{{Par2|overall|int|0}}
::{{Par2|overall|int|0}}
:::Overall smoothing.
:::Overall smoothing.
:::: Range: 0 - 255
:::Range: 0 - 255
<br>
<br>
::{{Par2|smoother|clip| }}
::{{Par2|smoother|clip| }}
Line 36: Line 38:
<br>
<br>
== Examples ==
== Examples ==
Default:
HQDeing with default settings:
  [[AviSource]]("Blah.avi")
  [[AviSource]]("Blah.avi")
  HQDering()
  HQDering(strength=255, overall=0)
<br>
<br>
Using a custom smoothed clip:
Using a custom smoothed clip:
[[AviSource]]("Blah.avi")
  HQDering(smoother=[[RemoveGrain]](mode=4))<br>
  HQDering(strength=200, smoother=[[RemoveGrain]](mode=4))
  #smoothed = [[RemoveGrain]](mode=4) #
<br>
  #HQDering(smoother=smoothed)   #  same as above but written differently
Another form of using a custom smoothed clip:
[[AviSource]]("Blah.avi")
  smoothed = [[RemoveGrain]](mode=4)
  HQDering(strength=200, smoother=smoothed)
<br>
<br>


Line 62: Line 60:
*[http://forum.doom9.org/showthread.php?p=793930#post793930 Doom9 Forum] - HQDering update by foxyshadis.<br>
*[http://forum.doom9.org/showthread.php?p=793930#post793930 Doom9 Forum] - HQDering update by foxyshadis.<br>
*[http://forum.doom9.org/showthread.php?p=1043281 Doom9 Forum] - Additional information on HQDering.<br>
*[http://forum.doom9.org/showthread.php?p=1043281 Doom9 Forum] - Additional information on HQDering.<br>
<br>
<br>
<br>
<br>
<br>
-----------------------------------------------
-----------------------------------------------
'''Back to [[External_filters#Deringing_.26_Mosquito_Noise|External Filters]] &larr;'''
'''Back to [[External_filters#Deringing_.26_Mosquito_Noise|External Filters]] &larr;'''

Latest revision as of 19:46, 31 December 2014

Abstract
Author mf
Version v0.2
Download HQDering script
Category Deringing & Mosquito Noise
License
Discussion Doom9 Thread original
Doom9 Thread update

Description

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

Requirements

  • AviSynth 2.5.8 or later
  • Progressive input only
  • Supported color formats: YV12

Required Plugins


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


clip  input =
Input clip


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


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


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


Examples

HQDeing with default settings:

AviSource("Blah.avi")
HQDering(strength=255, overall=0)


Using a custom smoothed clip:

HQDering(smoother=RemoveGrain(mode=4))
#smoothed = RemoveGrain(mode=4) # #HQDering(smoother=smoothed) # same as above but written differently


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





Back to External Filters