EdgeLevel

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
(EdgeLevel v0.02 (translated from Japanese))
 
(v0.03)
 
(One intermediate revision by one user not shown)
Line 2: Line 2:
 
{{Filter3
 
{{Filter3
 
|1=[https://github.com/rigaya rigaya]
 
|1=[https://github.com/rigaya rigaya]
|2=v0.02
+
|2=v0.03
|3=[https://web.archive.org/web/20200906200408if_/https://files.videohelp.com/u/223002/edgelevel_avisynth_0.02.zip edgelevel_avisynth_0.02.zip]
+
|3=[https://github.com/rigaya/edgelevel_avisynth/releases edgelevel_avisynth_0.03.zip]
 
|4=Spatial Denoisers
 
|4=Spatial Denoisers
 
|5=[https://opensource.org/licenses/MIT MIT]
 
|5=[https://opensource.org/licenses/MIT MIT]
Line 9: Line 9:
  
 
== Description ==
 
== 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.
+
[[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 [https://web.archive.org/web/20081207000928/http://www.geocities.jp:80/flash3kyuu/ flash3kyuu].
 
AviSynth plugin ported from the Aviutl plugin EdgeLevel by [https://web.archive.org/web/20081207000928/http://www.geocities.jp:80/flash3kyuu/ flash3kyuu].
Line 65: Line 65:
 
== Changelog ==
 
== Changelog ==
 
  Version      Date            Changes<br>
 
  Version      Date            Changes<br>
 +
v0.03        2022/02/01      - Add frame properties passthrough.
 
  V0.02        2020/09/05      - Overflow prevention at 16bit.
 
  V0.02        2020/09/05      - Overflow prevention at 16bit.
 
  v0.01        2020/09/05      - Supports high bit depth of AviSynth+.
 
  v0.01        2020/09/05      - Supports high bit depth of AviSynth+.
Line 81: Line 82:
 
!v0.02
 
!v0.02
 
|[https://web.archive.org/web/20200906200408if_/https://files.videohelp.com/u/223002/edgelevel_avisynth_0.02.zip edgelevel_avisynth_0.02.zip]
 
|[https://web.archive.org/web/20200906200408if_/https://files.videohelp.com/u/223002/edgelevel_avisynth_0.02.zip edgelevel_avisynth_0.02.zip]
 +
|
 +
|-
 +
!v0.01
 +
|[https://web.archive.org/web/20200906203842if_/https://files.videohelp.com/u/223002/edgelevel_avisynth_0.01.zip edgelevel_avisynth_0.01.zip]
 
|
 
|
 
|-
 
|-

Latest revision as of 17:18, 1 February 2022

Abstract
Author rigaya
Version v0.03
Download edgelevel_avisynth_0.03.zip
Category Spatial Denoisers
License MIT
Discussion

Contents

[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:

AviSource("Blah.avi")
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