

- #Avisynth sharpen mod#
- #Avisynth sharpen archive#
- #Avisynth sharpen software#
- #Avisynth sharpen code#

# Dependencies: > AviSynth+ 3.7.1 test34 ()įunction Adaptive_Sharpen(clip a, float "str", float "slope", float "H_over", float "L_over", float "H_compr_lo", float "H_compr_hi", float "L_compr_lo", float "L_compr_hi", float "scale_lim", float "scale_cs", \įloat "dW_lothr", float "dW_hithr", float "lowthr_mxw", float "pm_p", float "a_offset", float "UV") * 0 1 clip # Effectively, edges are sharpened without oversharpening (halos) (but risk to make them jaggy)."

# "It sharpens the picture by adjusting the slope of the gradient values inbetween the local min/max interval. # The premise is similar to SlopeBend() by Didée, it reads: # Since this is CPU based it's 7 times slower compared to the GPU shader. # Internally it is partially processed in 32-bit. # Process with all threads -Prefetch(threads)- in any bitdepth ( although 32-bit is 2% faster than 16-bit). # AviSynth+ port of HLSL Adaptive Sharpen shader by bacondither # Light overshoots are limited more due to it's worse appearance compared to dark undershoots in most cases. # The final stage is a soft limiter that confines overshoots based on local near min/max values. # The outer weights of the laplace matrix is variable to mitigate ringing on relative sharp edges and to provide more sharpening on wider and blurrier edges. # The shader tries to sharpen somewhat blurry edges the most, it avoids to sharpen near-flat areas and very sharp edges. # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # DATA, OR PROFITS OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES LOSS OF USE, # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT # IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, # OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. # IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
#Avisynth sharpen software#
# THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR # documentation and/or other materials provided with the distribution. # notice, this list of conditions and the following disclaimer in the Redistributions in binary form must reproduce the above copyright # notice, this list of conditions and the following disclaimer
#Avisynth sharpen code#
Redistributions of source code must retain the above copyright # modification, are permitted provided that the following conditions # Redistribution and use in source and binary forms, with or without
#Avisynth sharpen mod#
# LSFmod -LaTo's mod of Didée's LSF- (external EX/MIX mods) # # Collection of high quality sharpeners for AviSynth+ #
