DeHaloHmod
From Avisynth wiki
(Difference between revisions)
Raffriff42 (Talk | contribs) (redirect for convenient searching) |
(→Changelog: add links) |
||
| (11 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| − | # | + | {{FilterCat4|External_filters|Scripts|Restoration_filters|Dehalo}} |
| − | {{ | + | {{Filter3 |
| + | |AmjadSONY | ||
| + | |11/11/2016 | ||
| + | |[https://github.com/realfinder/AVS-Stuff/raw/master/avs%202.5%20and%20up/DeHaloH.avsi DeHaloHmod.avsi] | ||
| + | |Dehalo | ||
| + | | | ||
| + | |6=[http://forum.doom9.org/showthread.php?t=145898#post1675762 Doom9 Thread]}} | ||
| + | == Description == | ||
| + | [[DeHaloHmod]] - a modfificaition of <tt>DeHaloH</tt> by Vitaliy Gorbatenko.<br> | ||
| + | <br> | ||
| + | == Requirements == | ||
| + | *AviSynth 2.5.8 or [http://sourceforge.net/projects/avisynth2/ greater] | ||
| + | *[[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]] | ||
| + | |||
| + | === Required Plugins === | ||
| + | Latest versions of the following filters are recommended unless stated otherwise.<br> | ||
| + | *[[Zs_RF_Shared]] | ||
| + | *[[MaskTools2]] | ||
| + | *[[SmoothUV]] <!--(only required when mode=0 / 3)--> | ||
| + | *[[TBilateral]] | ||
| + | <br> | ||
| + | |||
| + | == [[Script variables|Syntax and Parameters]] == | ||
| + | :{{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> | ||
| + | ::{{Par2|clp|clip| }} | ||
| + | :::Input clip. | ||
| + | <br> | ||
| + | ::{{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> | ||
| + | ::{{Par2|Str|int|3}} | ||
| + | :::Strength, the default value is 3 but it's set to 5 when <code>smooth=true</code>. | ||
| + | <br> | ||
| + | ::{{Par2|Maska|bool|false|}} | ||
| + | :::Set to <tt>true</tt> to show mask. | ||
| + | <br> | ||
| + | ::{{Par2|strong|bool|true}} | ||
| + | :::Only has an effect when mode is set to 0. | ||
| + | <br> | ||
| + | ::{{Par2|mode|int|3}} | ||
| + | :::Masking mode. | ||
| + | <br> | ||
| + | ::{{Par2|thr|int|140}} | ||
| + | :::Threshold, Only has an effect when mode is not set to 0. | ||
| + | <br> | ||
| + | ::{{Par2|exdehalo|string| }} | ||
| + | :::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, 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 == | ||
| + | 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) | ||
| + | <br> | ||
| + | == Changelog == | ||
| + | Version Date(D/M/Y) Changes<br> | ||
| + | v2.44 26/08/2019 - [https://pastebin.com/mGRFQjje] | ||
| + | v2.41 07/12/2018 - [https://pastebin.com/03mpGr70] | ||
| + | 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> | ||
| + | |||
| + | == External Links == | ||
| + | <br> | ||
| + | <br> | ||
| + | ----------------------------------------------- | ||
| + | '''Back to [[External_filters#Dehaloing|External Filters]] ←''' | ||
| + | ----------------------------------------------- | ||
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=trueanddirty=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 ←