DeHalo alpha
From Avisynth wiki
(Difference between revisions)
m |
m (→Syntax and Parameters) |
||
Line 23: | Line 23: | ||
== Syntax and Parameters == | == Syntax and Parameters == | ||
− | {{Template:FuncDef|DeHalo_alpha(clip clp, float "rx", float "ry", float "darkstr", float "brightstr", float "lowsens", float "highsens", float "ss")}} | + | :{{Template:FuncDef|DeHalo_alpha (''clip'' clp, ''float'' "rx", ''float'' "ry", ''float'' "darkstr", ''float'' "brightstr", ''float'' "lowsens", ''float'' "highsens", ''float'' "ss")}} |
<br> | <br> | ||
<br> | <br> | ||
− | :{{ | + | ::{{Par2|clp|clip| }} |
− | :{{ | + | ::::Input clip. |
− | ::Range: 1.0 - 3.0 | + | <br> |
+ | ::{{Par2|rx|float|2.0}} | ||
+ | ::{{Par2|ry|float|2.0}} | ||
+ | :::Range: 1.0 - 3.0 | ||
− | :::As usual, the radii for halo removal. | + | ::::As usual, the radii for halo removal. |
− | ::::<span style="color:red">'''Note:'''</span> | + | :::::<span style="color:red">'''Note:'''</span> |
− | :::::This function is rather sensitive to the radius settings. | + | ::::::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> | ||
− | :{{ | + | ::{{Par2|darkstr|float|1.0}} |
− | :{{ | + | ::{{Par2|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, {{Template:FuncDef|darkstr}}=0.4~0.8 sometimes might be better ... sometimes. |
− | :::In general, the function seems to preserve dark lines rather well.<br> | + | ::::In general, the function seems to preserve dark lines rather well.<br> |
<br> | <br> | ||
− | :{{ | + | ::{{Par2|lowsens|int|50}} |
− | :{{ | + | ::{{Par2|highsens|int|50}} |
− | :: Range: 0 - 100 | + | ::: Range: 0 - 100 |
− | :::Sensitivity settings, not that easy to describe them exactly ... | + | ::::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. | + | ::::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. | + | ::::Defaults are 50 and 50 ... try and see for yourself. |
<br> | <br> | ||
− | :{{ | + | ::{{Par2|ss|float|1.5}} |
− | :: Range: 1.0 - ??? | + | ::: Range: 1.0 - ??? |
− | :::Supersampling factor, to avoid creation of aliasing. | + | ::::Supersampling factor, to avoid creation of aliasing. {{Template:FuncDef|ss}}=1.0 -> no supersampling. |
<br> | <br> | ||
Revision as of 13:03, 28 January 2014
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")
- clip clp =
- Input clip.
- clip clp =
- float rx = 2.0
- float ry = 2.0
- Range: 1.0 - 3.0
- float rx = 2.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.
- float darkstr = 1.0
- float brightstr = 1.0
- Range: 0.0 - 1.0 [<0.0 and >1.0 possible]
- float darkstr = 1.0
- 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.
- int lowsens = 50
- int highsens = 50
- Range: 0 - 100
- int lowsens = 50
- 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.
- float ss = 1.5
- Range: 1.0 - ???
- Supersampling factor, to avoid creation of aliasing. ss=1.0 -> no supersampling.
- Range: 1.0 - ???
- float ss = 1.5
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 ←