DeHaloHmod

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
(Changelog: add links)
 
(8 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
{{Filter3
 
{{Filter3
 
|AmjadSONY
 
|AmjadSONY
|09/05/2016
+
|11/11/2016
|[http://pastebin.com/raw/KkuiDtiK DeHaloHmod.avsi]
+
|[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|external|string| }}
+
::{{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      - [http://pastebin.com/D6M00iYG]
+
v2.44        26/08/2019      - [https://pastebin.com/mGRFQjje]
               30/10/2014      - [http://pastebin.com/GhVpsids]
+
v2.41        07/12/2018      - [https://pastebin.com/03mpGr70]
               27/08/2014      - Initial release[http://pastebin.com/LtaC7ECe]
+
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 20: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

[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.


int  Radius = 2
Radius, the default value is 2 but it's set to 6 when dirty=true, and 4 when smooth=true and dirty=false.


int  Str = 3
Strength, the default value is 3 but it's set to 5 when smooth=true.


bool  Maska = false
Set to true to show mask.


bool  strong = true
Only has an effect when mode is set to 0.


int  mode = 3
Masking mode.


int  thr = 140
Threshold, Only has an effect when mode is not set to 0.


string  exdehalo =
You can use it with an external dehalo filter like this: DeHaloHmod(exdehalo="BlindDeHalo3(4,4)").


bool  analog = false
When set to true, the edge mask is processed with ColorYUV(autogain=true).


bool  dirty = false
When set to true, a smoothed clip will be use to create the edge mask.


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.


[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