DeHalo alpha
From Avisynth wiki
(Difference between revisions)
m (→Description) |
m |
||
Line 2: | Line 2: | ||
{{Filter | {{Filter | ||
|Didée | |Didée | ||
− | | | + | |MT2 |
− | |[[Media: | + | |[[Media:Dehalo_alpha_MT2.avsi|DeHalo_alpha_MT2]] |
|Dehalo | |Dehalo | ||
− | | | + | |[[YV12]] |
|}} | |}} | ||
Line 12: | Line 12: | ||
<br> | <br> | ||
<br> | <br> | ||
− | + | == Requirements: == | |
:- AviSynth 2.5.8 or later | :- AviSynth 2.5.8 or later | ||
:- Supported color formats: [[YV12]] | :- Supported color formats: [[YV12]] | ||
:- [[FAQ_different_types_content#How_do_I_recognize_progressive.2C_interlaced.2C_telecined.2C_hybrid_and_blended_content.3F|Progressive]] input only | :- [[FAQ_different_types_content#How_do_I_recognize_progressive.2C_interlaced.2C_telecined.2C_hybrid_and_blended_content.3F|Progressive]] input only | ||
− | + | ==== Required Filters: ==== | |
:*[[MaskTools2]] 2.0a48+ | :*[[MaskTools2]] 2.0a48+ | ||
:*Repair.dll - part of the [[RemoveGrain]] package. | :*Repair.dll - part of the [[RemoveGrain]] package. | ||
Line 26: | Line 26: | ||
<br> | <br> | ||
<br> | <br> | ||
− | :{{Par|rx | + | :{{Par|rx|float|2.0}} |
+ | :{{Par|ry|float|2.0}} | ||
::Range: 1.0 - 3.0 | ::Range: 1.0 - 3.0 | ||
:::As usual, the radii for halo removal. | :::As usual, the radii for halo removal. | ||
− | ::::'''Note:''' This function is rather sensitive to the radius settings. | + | ::::<span style="color:red">'''Note:'''</span> |
+ | :::::This function is rather sensitive to the radius settings. | ||
:::::Set it as low as possible! If radius is set too high, it will start missing small spots.<br> | :::::Set it as low as possible! If radius is set too high, it will start missing small spots.<br> | ||
<br> | <br> | ||
− | :{{Par|darkstr | + | :{{Par|darkstr|float|1.0}} |
+ | :{{Par|brightstr|float|1.0}} | ||
::Range: 0.0 - 1.0 [<0.0 and >1.0 possible] | ::Range: 0.0 - 1.0 [<0.0 and >1.0 possible] | ||
:::The strength factors for processing dark and bright halos. Default 1.0 both for symmetrical processing. | :::The strength factors for processing dark and bright halos. Default 1.0 both for symmetrical processing. | ||
:::On Comic/Anime, darkstr=0.4~0.8 sometimes might be better ... sometimes. | :::On Comic/Anime, darkstr=0.4~0.8 sometimes might be better ... sometimes. | ||
− | :::In | + | :::In general, the function seems to preserve dark lines rather well.<br> |
<br> | <br> | ||
− | :{{Par|lowsens | + | :{{Par|lowsens|int|50}} |
+ | :{{Par|highsens|int|50}} | ||
:: Range: 0 - 100 | :: Range: 0 - 100 | ||
Line 58: | Line 62: | ||
<br> | <br> | ||
== Changelog == | == Changelog == | ||
− | Changes [http://forum.doom9.org/showpost.php?p=777956&postcount=70 2006-01-31] | + | Changes [http://forum.doom9.org/showpost.php?p=777956&postcount=70 2006-01-31:] |
- Changed syntax to use MaskTools2<br> | - Changed syntax to use MaskTools2<br> | ||
Changes [http://forum.doom9.org/showpost.php?p=738264&postcount=43 2005-11-15:] | Changes [http://forum.doom9.org/showpost.php?p=738264&postcount=43 2005-11-15:] | ||
Line 67: | Line 71: | ||
* [http://forum.doom9.org/showthread.php?p=1385109#post1385109 Doom9 Forum] - Modified DeHalo_alpha: here with increased search-radius for validation. | * [http://forum.doom9.org/showthread.php?p=1385109#post1385109 Doom9 Forum] - Modified DeHalo_alpha: here with increased search-radius for validation. | ||
* [http://forum.doom9.org/showthread.php?p=1457926#post1457926 Doom9 Forum] - DeHalo_alpha with contra-sharpening. | * [http://forum.doom9.org/showthread.php?p=1457926#post1457926 Doom9 Forum] - DeHalo_alpha with contra-sharpening. | ||
+ | <br> | ||
+ | <br> | ||
+ | <br> | ||
+ | ----------------------------------------------- | ||
+ | '''Back to [[External_filters#Dehaloing|External Filters]] ←''' | ||
+ | ----------------------------------------------- |
Revision as of 18:04, 25 December 2013
Abstract | |
---|---|
Author | Didée |
Version | MT2 |
Download | DeHalo_alpha_MT2 |
Category | Dehalo |
Requirements | YV12 |
License | |
Discussion |
Contents |
Description
Reduce halo artifacts that can occur when sharpening.
Requirements:
- - AviSynth 2.5.8 or later
- - Supported color formats: YV12
- - Progressive input only
Required Filters:
- MaskTools2 2.0a48+
- Repair.dll - part of the RemoveGrain package.
Syntax and Parameters
DeHalo_alpha(clip clp, float "rx", float "ry", float "darkstr", float "brightstr", float "lowsens", float "highsens", float "ss")
- rx float = 2.0
- ry float = 2.0
- Range: 1.0 - 3.0
- As usual, the radii for halo removal.
- Note:
- This function is rather sensitive to the radius settings.
- Set it as low as possible! If radius is set too high, it will start missing small spots.
- Note:
- As usual, the radii for halo removal.
- darkstr float = 1.0
- brightstr float = 1.0
- Range: 0.0 - 1.0 [<0.0 and >1.0 possible]
- The strength factors for processing dark and bright halos. Default 1.0 both for symmetrical processing.
- On Comic/Anime, darkstr=0.4~0.8 sometimes might be better ... sometimes.
- In general, the function seems to preserve dark lines rather well.
- lowsens int = 50
- highsens int = 50
- Range: 0 - 100
- Sensitivity settings, not that easy to describe them exactly ...
- In a sense, they define a window between how weak an achieved effect has to be to get fully accepted, and how strong an achieved effect has to be to get fully discarded.
- Defaults are 50 and 50 ... try and see for yourself.
- ss float = 1.5
- Range: 1.0 - ???
- Supersampling factor, to avoid creation of aliasing.
- Range: 1.0 - ???
Examples
AviSource("Blah.avi") DeHalo_alpha()
Changelog
Changes 2006-01-31: - Changed syntax to use MaskTools2
Changes 2005-11-15: - Initial release
External Links
- Doom9 Forum - DeHalo_alpha discussion.
- Doom9 Forum - Modified DeHalo_alpha: here with increased search-radius for validation.
- Doom9 Forum - DeHalo_alpha with contra-sharpening.
Back to External Filters ←