DeHalo alpha

From Avisynth wiki
Jump to: navigation, search
Abstract
Author Didée
Version MT2
Download DeHalo_alpha_MT2.avsi
Category Dehalo
License
Discussion Doom9 Thread

Contents

[edit] Description

Reduce halo artifacts that can occur when sharpening.

[edit] Requirements

  • AviSynth 2.5.8 or later
  • 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

DeHalo_alpha (clip clp, float "rx", float "ry", float "darkstr", float "brightstr", float "lowsens", float "highsens", float "ss")


clip  clp =
Input clip.


float  rx = 2.0
float  ry = 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.
Range: 1.0 to 3.0


float  darkstr = 1.0
float  brightstr = 1.0
The strength factors for processing dark and bright halos. Default 1.0 both for symmetrical processing.
On Comics/Anime, darkstr=0.4~0.8 sometimes might be better ... sometimes. In general, the function seems to preserve dark lines rather well.
Range: 0.0 to 1.0 [<0.0 and >1.0 possible]


int  lowsens = 50
int  highsens = 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.
Range: 0 to 100


float  ss = 1.5
Supersampling factor, to avoid creation of aliasing. ss=1.0 -> no supersampling.
Range: 1.0 to ???


[edit] Examples

DeHalo_alpha with default values.

AviSource("Blah.avi")
DeHalo_alpha(rx=2.0, ry=2.0, darkstr=1.0, brightstr=1.0, lowsens=50, highsens=50, ss=1.5)


[edit] Changelog

 Changes 2006-01-31:
     - Changed syntax to use MaskTools2
Changes 2005-11-15: - Initial release


[edit] External Links




Back to External Filters


Personal tools