DeHaloHmod
From Avisynth wiki
(Difference between revisions)
(add changelog links) |
(update documentation to correlate with 09/05/2016 update (still not complete)) |
||
Line 23: | Line 23: | ||
== [[Script variables|Syntax and Parameters]] == | == [[Script variables|Syntax and Parameters]] == | ||
− | :{{Template:FuncDef|DeHaloHmod (clip input, int "Radius", int "Str", bool "Maska", bool "strong", int "mode", int "thr", string "exdehalo")}} | + | :{{Template:FuncDef|DeHaloHmod (clip input, int "Radius", int "Str", bool "Maska", bool "strong", int "mode", int "thr", string "exdehalo", bool "analog", bool "dirty", bool "smooth")}} |
<br> | <br> | ||
::{{Par2|clp|clip| }} | ::{{Par2|clp|clip| }} | ||
Line 29: | Line 29: | ||
<br> | <br> | ||
::{{Par2|Radius|int|2}} | ::{{Par2|Radius|int|2}} | ||
− | :::Radius | + | :::Radius, the default value is 2 but it's set to 6 when <code>dirty=true</code>, and 4 when <code>smooth=true</code>. |
<br> | <br> | ||
::{{Par2|Str|int|3}} | ::{{Par2|Str|int|3}} | ||
− | :::Strength | + | :::Strength, the default value is 3 but it's set to 6 when <code>smooth=true</code>. |
<br> | <br> | ||
::{{Par2|Maska|bool|false|}} | ::{{Par2|Maska|bool|false|}} | ||
Line 46: | Line 46: | ||
:::Threshold, Only has an effect when mode is not set to 0. | :::Threshold, Only has an effect when mode is not set to 0. | ||
<br> | <br> | ||
− | ::{{Par2| | + | ::{{Par2|exdehalo|string| }} |
:::You can use it with an external dehalo filter like this: <code>DeHaloHmod(exdehalo="[[BlindDeHalo3]](4,4)")</code>. | :::You can use it with an external dehalo filter like this: <code>DeHaloHmod(exdehalo="[[BlindDeHalo3]](4,4)")</code>. | ||
+ | <br> | ||
+ | ::{{Par2|analog|bool|false}} | ||
+ | :::When set to <code>true</code>, the edge mask is processed with <code>[[ColorYUV|ColorYUV(autogain=true)]]</code>. | ||
+ | <br> | ||
+ | ::{{Par2|dirty|bool|false}} | ||
+ | :::When set to true, a smoothed clip will be use to create the edge mask. | ||
+ | <br> | ||
+ | ::{{Par2|smooth|bool|false}} | ||
+ | :::When set to true, DeHalo_alpha, YAHR2, and TBilateral will be use to create the smoothed clip. When set to false, only TBilateral is used. | ||
<br> | <br> | ||
== Examples == | == Examples == | ||
DeHaloHmod with default values. | DeHaloHmod with default values. | ||
[[AviSource]]("Blah.avi") | [[AviSource]]("Blah.avi") | ||
− | DeHaloHmod(Radius=2, Str=3, Maska=false, strong=true, mode=3, thr=140) | + | DeHaloHmod(Radius=2, Str=3, Maska=false, strong=true, mode=3, thr=140, analog=false, dirty=false, smooth=false) |
<br> | <br> | ||
== Changelog == | == Changelog == |
Revision as of 00:08, 22 May 2016
Abstract | |
---|---|
Author | AmjadSONY |
Version | 09/05/2016 |
Download | DeHaloHmod.avsi |
Category | Dehalo |
License | |
Discussion | Doom9 Thread |
Contents |
Description
DeHaloHmod - a modfificaition of DeHaloH by Vitaliy Gorbatenko.
Requirements
- AviSynth 2.5.8 or greater
- Progressive input only
- Supported color formats: YV12
Required Plugins
Latest versions of the following filters are recommended unless stated otherwise.
Syntax and Parameters
- DeHaloHmod (clip input, int "Radius", int "Str", bool "Maska", bool "strong", int "mode", int "thr", string "exdehalo", bool "analog", bool "dirty", bool "smooth")
- clip clp =
- Input clip.
- clip clp =
- int Radius = 2
- Radius, the default value is 2 but it's set to 6 when
dirty=true
, and 4 whensmooth=true
.
- Radius, the default value is 2 but it's set to 6 when
- int Radius = 2
- int Str = 3
- Strength, the default value is 3 but it's set to 6 when
smooth=true
.
- Strength, the default value is 3 but it's set to 6 when
- int Str = 3
- bool Maska = false
- Set to true to show mask.
- bool Maska = false
- bool strong = true
- Only has an effect when mode is set to 0.
- bool strong = true
- int mode = 3
- Masking mode.
- int mode = 3
- int thr = 140
- Threshold, Only has an effect when mode is not set to 0.
- int thr = 140
- string exdehalo =
- You can use it with an external dehalo filter like this:
DeHaloHmod(exdehalo="BlindDeHalo3(4,4)")
.
- You can use it with an external dehalo filter like this:
- string exdehalo =
- bool analog = false
- When set to
true
, the edge mask is processed withColorYUV(autogain=true)
.
- When set to
- bool analog = false
- bool dirty = false
- When set to true, a smoothed clip will be use to create the edge mask.
- bool dirty = false
- bool smooth = false
- When set to true, DeHalo_alpha, YAHR2, and TBilateral will be use to create the smoothed clip. When set to false, only TBilateral is used.
- bool smooth = false
Examples
DeHaloHmod with default values.
AviSource("Blah.avi") DeHaloHmod(Radius=2, Str=3, Maska=false, strong=true, mode=3, thr=140, analog=false, dirty=false, smooth=false)
Changelog
Version Date(D/M/Y) Changes
09/05/2016 - [1] 09/05/2016 - [2] 22/10/2015 - [3] 30/10/2014 - [4] 27/08/2014 - Initial release[5]
External Links
Back to External Filters ←