DeHalo alpha

From Avisynth wiki
Revision as of 23:47, 2 January 2012 by Mastrboy (Talk)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Abstract
Author Didée
Version
Download DeHalo_alpha.avsi
Category Dehaloers
Requirements
License
Discussion

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

Contents

Abstract

Reduce halo artifacts that can occur when sharpening.

Requires Filters

Parameters

  • rx, ry [float, 1.0 ... 2.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.

  • darkstr, brightstr [float, 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, highsens [int, 0 ... 50 ... 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.0 ... 1.5 ...]

Supersampling factor, to avoid creation of aliasing.

Examples

AviSource("Blah.avi")
DeHalo_alpha()

Links

http://forum.doom9.org/showthread.php?p=738264#post738264

dehalo_alpha_mt (masktools2 version of dehalo_alpha)

Personal tools