DeHaloHmod
From Avisynth wiki
(Difference between revisions)
(→Changelog: add links) |
|||
(8 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
{{Filter3 | {{Filter3 | ||
|AmjadSONY | |AmjadSONY | ||
− | | | + | |11/11/2016 |
− | |[ | + | |[https://github.com/realfinder/AVS-Stuff/raw/master/avs%202.5%20and%20up/DeHaloH.avsi DeHaloHmod.avsi] |
|Dehalo | |Dehalo | ||
| | | | ||
Line 17: | Line 17: | ||
=== Required Plugins === | === Required Plugins === | ||
Latest versions of the following filters are recommended unless stated otherwise.<br> | Latest versions of the following filters are recommended unless stated otherwise.<br> | ||
+ | *[[Zs_RF_Shared]] | ||
*[[MaskTools2]] | *[[MaskTools2]] | ||
*[[SmoothUV]] <!--(only required when mode=0 / 3)--> | *[[SmoothUV]] <!--(only required when mode=0 / 3)--> | ||
Line 23: | Line 24: | ||
== [[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 30: | ||
<br> | <br> | ||
::{{Par2|Radius|int|2}} | ::{{Par2|Radius|int|2}} | ||
− | ::: | + | :::Radius, the default value is 2 but it's set to 6 when <code>dirty=true</code>, and 4 when <code>smooth=true</code> and <code>dirty=false</code>. |
<br> | <br> | ||
::{{Par2|Str|int|3}} | ::{{Par2|Str|int|3}} | ||
− | ::: | + | :::Strength, the default value is 3 but it's set to 5 when <code>smooth=true</code>. |
<br> | <br> | ||
::{{Par2|Maska|bool|false|}} | ::{{Par2|Maska|bool|false|}} | ||
Line 46: | Line 47: | ||
:::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> | <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, it wiil make the Invert mask smoothed by mt_inflate(155,155) and if exdehalo is not used DeHalo_alpha, YAHR2, and TBilateral will be use to create the smoothed and DeHalo clip. When set to false, only TBilateral is used. | ||
+ | <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 == | ||
Version Date(D/M/Y) Changes<br> | Version Date(D/M/Y) Changes<br> | ||
− | 22/10/2015 - [ | + | v2.44 26/08/2019 - [https://pastebin.com/mGRFQjje] |
− | 30/10/2014 - [ | + | v2.41 07/12/2018 - [https://pastebin.com/03mpGr70] |
− | 27/08/2014 - Initial release[ | + | v2.40 01/04/2018 - [https://pastebin.com/pCXGRNGh] |
+ | v2.39 26/03/2018 - [https://pastebin.com/nQr7trcn] | ||
+ | v2.37 19/06/2017 - [https://pastebin.com/uSmZqapf] | ||
+ | v2.35 01/04/2017 - [https://pastebin.com/gAFwi5kN] | ||
+ | v2.30 30/01/2017 - [https://pastebin.com/bMQuP8v8] | ||
+ | 11/11/2016 - [https://pastebin.com/tA7aHtYP] | ||
+ | 07/10/2016 - [https://pastebin.com/4xv7u9te] | ||
+ | 09/05/2016 - [https://pastebin.com/KkuiDtiK] | ||
+ | 09/05/2016 - [https://pastebin.com/jRFB4NDp] | ||
+ | 22/10/2015 - [https://pastebin.com/D6M00iYG] | ||
+ | 30/10/2014 - [https://pastebin.com/GhVpsids] | ||
+ | 27/08/2014 - Initial release[https://pastebin.com/LtaC7ECe] | ||
<br> | <br> | ||
+ | |||
== External Links == | == External Links == | ||
<br> | <br> |
Latest revision as of 19:02, 15 December 2022
Abstract | |
---|---|
Author | AmjadSONY |
Version | 11/11/2016 |
Download | DeHaloHmod.avsi |
Category | Dehalo |
License | |
Discussion | Doom9 Thread |
Contents |
[edit] Description
DeHaloHmod - a modfificaition of DeHaloH by Vitaliy Gorbatenko.
[edit] Requirements
- AviSynth 2.5.8 or greater
- Progressive input only
- Supported color formats: YV12
[edit] Required Plugins
Latest versions of the following filters are recommended unless stated otherwise.
[edit] 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
anddirty=false
.
- 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 5 when
smooth=true
.
- Strength, the default value is 3 but it's set to 5 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, it wiil make the Invert mask smoothed by mt_inflate(155,155) and if exdehalo is not used DeHalo_alpha, YAHR2, and TBilateral will be use to create the smoothed and DeHalo clip. When set to false, only TBilateral is used.
- bool smooth = false
[edit] 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)
[edit] Changelog
Version Date(D/M/Y) Changes
v2.44 26/08/2019 - [1] v2.41 07/12/2018 - [2] v2.40 01/04/2018 - [3] v2.39 26/03/2018 - [4] v2.37 19/06/2017 - [5] v2.35 01/04/2017 - [6] v2.30 30/01/2017 - [7] 11/11/2016 - [8] 07/10/2016 - [9] 09/05/2016 - [10] 09/05/2016 - [11] 22/10/2015 - [12] 30/10/2014 - [13] 27/08/2014 - Initial release[14]
[edit] External Links
Back to External Filters ←