GradFun2DBmod: Difference between revisions

From Avisynth wiki
Jump to navigationJump to search
m 1 revision
m minor reformatting, category
Line 1: Line 1:
{{Filter|{{Author/LaTo}}|v1.5 - Update 2009/12/30|[http://latoninf.free.fr/d9/GF/GradFun2DBmod.v1.5.avsi GradFun2DBmod]|Debanding|
{{FilterCat4|External_filters|Scripts|Restoration_filters|Debanding}}
[[YV12]]
{{Filter3
|}}
|{{Author/LaTo}}
|v1.5 - Update 2009/12/30|[http://latoninf.free.fr/d9/GF/GradFun2DBmod.v1.5.avsi GradFun2DBmod]
|Debanding
|
|6=[http://forum.doom9.org/showthread.php?t=144537 Doom9 Thread]}}


{{Template:FuncDef| GradFun2DBmod( clip input,
float "thr", float "thrC", int "mode",
float "str", float "strC", int "temp", int "adapt", string "custom",
bool "mask", int "radius", int "range",
bool "show", int "screenW", int "screenH" ) }}




Line 18: Line 17:




== Required Filters ==
== Requirements ==
* Masktools (v2.0a36)
* AviSynth 2.5.8 or later
* Removegrain (v1.0PR)
* [[FAQ_different_types_content#How_do_I_recognize_progressive.2C_interlaced.2C_telecined.2C_hybrid_and_blended_content.3F|Progressive]] input only
* GradFun2db (v1.0)
* Supported color formats: [[YV12]]
* AddGrainC(v1.4)
<br>
==== Required Plugins: ====
* [[MaskTools2]]
* [[RemoveGrain]]
* [[GradFun2db]]
* [[AddGrainC]]




== Parameters ==
== [[Script variables|Syntax and Parameters]] ==
 
{{Template:FuncDef| GradFun2DBmod( clip input,
float "thr", float "thrC", int "mode",
float "str", float "strC", int "temp", int "adapt", string "custom",
bool "mask", int "radius", int "range",
bool "show", int "screenW", int "screenH" ) }}
 


===DITHER===
===DITHER===
Line 110: Line 121:




== Links ==
==External Links ==
[http://forum.doom9.org/showthread.php?t=144537 Doom9 Thread]
*[http://forum.doom9.org/showthread.php?t=144537 Doom9 Forum] - GradFun2DBmod discussion.
 
<br>
[[Category:External filters]]
<br>
-----------------------------------------------
'''Back to [[External_filters#Debanding|External Filters]] &larr;'''

Revision as of 17:42, 20 September 2014

Abstract
Author LaTo
Version v1.5 - Update 2009/12/30
Download GradFun2DBmod
Category Debanding
License
Discussion Doom9 Thread


Abstract

An advanced debanding script based on GradFun2DB.


Description

Some of these informations may be outdated and/or incomplete, check the Doom9 Thread for up-to-date version !!!


Requirements

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


Required Plugins:


GradFun2DBmod( clip input, float "thr", float "thrC", int "mode", float "str", float "strC", int "temp", int "adapt", string "custom", bool "mask", int "radius", int "range", bool "show", int "screenW", int "screenH" )


DITHER

thr [default: 1.2]
------------------
GradFun2DB "thr" parameter
thrC [default: thr]
-------------------
GradFun2DB "thrC" parameter
mode [default: 2]
-----------------
Mode for the addition of 16 pixels around the image
0 = Off                             [same as GradFun2DB]
1 = AddBorders  (speed:+ quality:-) [same as GradFunk]
2 = PointResize (speed:+ quality:+)
3 = Flip/Stack  (speed:- quality:+) [same as GradFunkMirror]


GRAIN

str [default: 0.8]
------------------
AddGrainC "var" parameter
strC [default: 0.0]
-------------------
AddGrainC "uvar" parameter
temp [default: 50]
------------------
Strength for temporal stabilization
-1  = off
0   = nervous grain
..
100 = calm grain
adapt [default: 64]
-------------------
Threshold for luma-adaptative grain
-1  = off
0   = source
..
255 = invert
custom [default: "empty"]
-------------------------
Use your own grain generator instead of AddGrain
(temp & adapt parameters are on, set -1 to turn off)


MASK

mask [default: true]
--------------------
Use adaptative deband mask 
(dither/grain is only applied to areas with banding's susceptibility)
radius [default: 2]
-------------------
Radius for the mask (1 is the fastest, 2-3 are slower)
range [default: 2]
------------------
Range used in the mask (1-3 are good value)


DEBUG

show [default: false]
---------------------
Show debug clip & informations
screenW [default: 1280]
-----------------------
Screen horizontal resolution (for show clip)
screenH [default: 1024]
-----------------------
Screen vertical resolution (for show clip)





Back to External Filters