From Avisynth wiki
Jump to: navigation, search
Author rigaya
Version v0.03
Download edgelevel_avisynth_0.03.zip
Category Spatial Denoisers
License MIT


[edit] Description

EdgeLevel adjusts the contrast near the edges, the edges are emphasized without overshoot. It may be good to use it after enlargement. It is designed to be applied more strongly only to the contour lines of animation, etc. Also take a look at EdgelevelSmooth, it combines EdgeLevel with Smoothing.

AviSynth plugin ported from the Aviutl plugin EdgeLevel by flash3kyuu.

NOTE: Documentation was translated from Japanese with online translators, some words may be not be accurate.

[edit] Requirements

[edit] Syntax and Parameters

edgelevel (clip, int "strength", int "threshold", int "bc", int "wc", int "thread", int "simd")

clip   =
Input clip.

int  strength = 10
Adjusts the edge emphasis level. A positive value will emphasize the edges, and a negative value will blur the edges.
  • Range: -31 - 31

int  threshold = 16
This is a threshold value that ignores noise.
  • Range: 0 - 255

int  bc = 0
Black correction; the original brightness is basically maintained during filtering. It is used when you want to darken the outline intentionally with a chute.
The change in brightness is local. Since the weighting has been adjusted, it is more difficult to shoot at simple color boundaries, and is only applied more strongly to contour lines, such as animations.
  • Range: 0 - 31

int  wc = 0
White correction; this is the opposite of black correction.
  • Range: 0 - 31

int  threads = 0
The number of parallel threads.
  • 0 : auto
  • Range: 0 - 32

int  simd = 0
CPU optimization:
Accelerated with AVX2 / SSE2. The fastest one is automatically selected according to the environment.

[edit] Examples

edgelevel with default settings:

edgelevel (strength=10, threshold=16, bc=0, wc=0, thread=0, simd=0)

[edit] Changelog

Version      Date            Changes
v0.03 2022/02/01 - Add frame properties passthrough. V0.02 2020/09/05 - Overflow prevention at 16bit. v0.01 2020/09/05 - Supports high bit depth of AviSynth+. - Compatible with AVX2. - Fixed the problem that it could not be processed normally due to overflow. v0.00 2012/03/06 - Initial release

[edit] Archived Downloads

Version Download Mirror
v0.02 edgelevel_avisynth_0.02.zip
v0.01 edgelevel_avisynth_0.01.zip
v0.00 edgelevel_avisynth_0.00.zip

[edit] External Links

  • GitHub - Source code repository.

Back to External Filters

Personal tools