DeHalo alpha
From Avisynth wiki
(Difference between revisions)
m (1 revision) |
|||
Line 4: | Line 4: | ||
| | | | ||
|[[Media:DeHalo_alpha.avsi|DeHalo_alpha.avsi]] | |[[Media:DeHalo_alpha.avsi|DeHalo_alpha.avsi]] | ||
− | | | + | |Dehalo |
| | | | ||
|}} | |}} | ||
− | + | == Introduction == | |
− | + | ||
− | == | + | |
− | + | ||
Reduce halo artifacts that can occur when sharpening. | Reduce halo artifacts that can occur when sharpening. | ||
− | + | <br> | |
− | === | + | <br> |
− | *[[ | + | ==== Required Filters ==== |
− | * | + | :*[[MaskTools2]] |
− | + | :*Repair.dll - part of the [[RemoveGrain]] package. | |
+ | <br> | ||
== Parameters == | == Parameters == | ||
+ | {{Template:FuncDef|DeHalo_alpha(clip clp, float "rx", float "ry", float "darkstr", float "brightstr", float "lowsens", float "highsens", float "ss")}} | ||
+ | <br> | ||
+ | <br> | ||
+ | :{{Par|rx, ry|float|2.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. |
− | '''Note:''' | + | :::::Set it as low as possible! If radius is set too high, it will start missing small spots.<br> |
− | + | <br> | |
− | + | :{{Par|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.<br> | |
+ | <br> | ||
+ | :{{Par|lowsens, highsens|int|50}} | ||
+ | :: Range: 0 - 100 | ||
− | + | :::Sensitivity settings, not that easy to describe them exactly ... | |
− | Supersampling factor, to avoid creation of aliasing. | + | :::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. | ||
+ | <br> | ||
+ | :{{Par|ss|float|1.5}} | ||
+ | :: Range: 1.0 - ??? | ||
+ | :::Supersampling factor, to avoid creation of aliasing. | ||
== Examples == | == Examples == |
Revision as of 19:12, 16 October 2013
Abstract | |
---|---|
Author | Didée |
Version | |
Download | DeHalo_alpha.avsi |
Category | Dehalo |
Requirements | |
License | |
Discussion |
Contents |
Introduction
Reduce halo artifacts that can occur when sharpening.
Required Filters
- MaskTools2
- Repair.dll - part of the RemoveGrain package.
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.
- Set it as low as possible! If radius is set too high, it will start missing small spots.
- Note: This function is rather sensitive to the radius settings.
- As usual, the radii for halo removal.
- 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.
- Range: 1.0 - ???
Examples
AviSource("Blah.avi") DeHalo_alpha()