VsMSharpen

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
m
m (authors)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{FilterCat5|External_filters|Plugins|Plugins_x64|Adjustment_filters|Sharpeners}}
+
{{FilterCat6|External_filters|Plugins|Plugins_x64|Adjustment_filters|Sharpeners|Deep_color_tools}}
 
{{Filter3
 
{{Filter3
| Dubhater, [https://github.com/Asd-g/AviSynth-vsMSharpen Asd-g]
+
| {{Author/dubhater}}, {{Author/Asd-g}}
| v2.0.0
+
| v2.0.1
|[https://github.com/Asd-g/AviSynth-vsMSharpen/releases vsMSharpen-2.0.0.7z]  
+
|[https://github.com/Asd-g/AviSynth-vsMSharpen/releases vsMSharpen-2.0.1.7z]  
 
| Sharpeners  
 
| Sharpeners  
 
| [https://www.gnu.org/licenses/gpl-2.0.txt GPLv2]
 
| [https://www.gnu.org/licenses/gpl-2.0.txt GPLv2]
Line 19: Line 19:
 
* [x64]: [[AviSynth+]]
 
* [x64]: [[AviSynth+]]
 
* Supported color formats: [[Y8]], [[YV12]], [[YV16]], [[YV24]], [[YV411]]
 
* Supported color formats: [[Y8]], [[YV12]], [[YV16]], [[YV24]], [[YV411]]
**AviSynth+: 8 to 16 bit planar YUV and RGB formats are supported.
+
**AviSynth+: all [[planar]] Y, YUV, and RGB formats (8/10/12/14/16-bit) are supported.
 
<br>
 
<br>
 
* [https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads Microsoft Visual C++ 2019 Redistributable Package (x86 / x64)]
 
* [https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads Microsoft Visual C++ 2019 Redistributable Package (x86 / x64)]
Line 27: Line 27:
  
 
== [[Script variables|Syntax and Parameters]] ==
 
== [[Script variables|Syntax and Parameters]] ==
:{{Template:FuncDef|vsMSharpen (clip, float "threshold", float "strength", bool "mask", bool "luma", bool "chroma"))}}
+
:{{Template:FuncDef|vsMSharpen (clip, float "threshold", float "strength", bool "mask", bool "luma", bool "chroma")}}
 
<br>
 
<br>
 
::{{Par2| |clip| }}
 
::{{Par2| |clip| }}
Line 54: Line 54:
 
== Changelog ==
 
== Changelog ==
 
  Version      Date            Changes<br>
 
  Version      Date            Changes<br>
  v2.0.0       2020/0521       - Rename the plugin to vsMSharpen
+
  v2.0.1       2020/05/29      - Fixed memory misalignment issue.
 +
v2.0.0       2020/05/21      - Rename the plugin to vsMSharpen
 
<br>
 
<br>
  

Latest revision as of 01:45, 26 June 2020

Abstract
Author dubhater , Asd-g
Version v2.0.1
Download vsMSharpen-2.0.1.7z
Category Sharpeners
License GPLv2
Discussion

Contents

[edit] Description

MSharpen is a sharpener that tries to sharpen only edges. This plugin is a port of the VapourSynth plugin MSharpen.

Note: in this version, "threshold" and "strength" are now a percentage and are floating point values rather than integer like the original version. Values from the original version do not give the same output as MSharpen, hence the name change to vsMSharpen.

[edit] Requirements


*** vcredist_x86.exe is required for vsMSharpen-x86
*** vcredist_x64.exe is required for vsMSharpen-x64


[edit] Syntax and Parameters

vsMSharpen (clip, float "threshold", float "strength", bool "mask", bool "luma", bool "chroma")


clip   =
Input clip


float  threshold = 6.0
Sensitivity of the edge detection. Decrease if important edges are getting blurred. This parameter became a percentage in order to make it independent of the bit depth.


float  strength = 39.0
Strength of the sharpening. This parameter became a percentage in order to make it independent of the bit depth


bool  mask = false
If true, the edge mask will be returned instead of the filtered frames.


bool  luma = true
bool  chroma = false
Planes to process.
When mask=true, the untouched planes will contain garbage.


[edit] Examples

vsMSharpen with default settings:

AviSource("blah.avi")
vsMSharpen(threshold=6.0, strength=39.0, mask=false, luma=true, chroma=true)


[edit] Changelog

Version      Date            Changes
v2.0.1 2020/05/29 - Fixed memory misalignment issue. v2.0.0 2020/05/21 - Rename the plugin to vsMSharpen


[edit] External Links

  • GitHub - Source code repository.




Back to External Filters

Personal tools