DeHalo alpha

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
m (Parameters)
Line 17: Line 17:
 
<br>
 
<br>
  
== 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>
Line 46: Line 46:
 
:::Supersampling factor, to avoid creation of aliasing.
 
:::Supersampling factor, to avoid creation of aliasing.
 
<br>
 
<br>
 +
 
== Examples ==
 
== Examples ==
  

Revision as of 05:33, 8 November 2013

Abstract
Author Didée
Version
Download DeHalo_alpha_mt.avsi
Category Dehalo
Requirements
License
Discussion

Contents

Introduction

Reduce halo artifacts that can occur when sharpening.

Required Filters


Syntax and Parameters

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

rx, 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.


darkstr, 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, 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.


Examples

AviSource("Blah.avi")
DeHalo_alpha()


Changelog

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


External Links