Vinverse: Difference between revisions

From Avisynth wiki
Jump to navigationJump to search
v0.92 update
v0.93
Line 2: Line 2:
{{Filter3
{{Filter3
| {{Author/tp7}}, {{Author/Asd-g}}
| {{Author/tp7}}, {{Author/Asd-g}}
| v0.92
| v0.93
|[https://github.com/Asd-g/vinverse/releases vinverse-0.9.2.7z]
|[https://github.com/Asd-g/vinverse/releases vinverse-0.9.3.7z]
| Luma Equalization   
| Luma Equalization   
| [http://opensource.org/licenses/MIT MIT] but binaries are [http://www.gnu.org/licenses/gpl-2.0.txt GPLv2]
| [http://opensource.org/licenses/MIT MIT] but binaries are [http://www.gnu.org/licenses/gpl-2.0.txt GPLv2]
Line 28: Line 28:
|-
|-
|{{Template:FuncDef|vinverse}}
|{{Template:FuncDef|vinverse}}
|{{Template:FuncDef| (clip, float "sstr" int "amnt", int "uv", float "scl", int "opt", clip "clip2")}}
|{{Template:FuncDef| (clip, float "sstr" int "amnt", int "uv", float "scl", int "opt", clip "clip2", int "thr")}}
|-
|-
|{{Template:FuncDef|vinverse2}}
|{{Template:FuncDef|vinverse2}}
Line 67: Line 67:
:::External clip from which to take contra sharpening.
:::External clip from which to take contra sharpening.
:::This clip must be the same length, width, height, and colorspace as the input clip.
:::This clip must be the same length, width, height, and colorspace as the input clip.
<br>
::{{Par2|thr|int|0}}
:::Threshold; only applicable to vinverse.
:::If the absolute difference between the source and the blurred pixel is below this threshold, the pixel is just copied otherwirse it's processed.
:::Must be between 0 and range_max.
:::Default: 0 (every pixel is processed).
<br>
<br>


Line 76: Line 82:
== Changelog ==
== Changelog ==
  Version      Date            Changes<br>
  Version      Date            Changes<br>
v0.9.3      04/03/2022      - Added parameter thr. (vinverse only) <br>
  v0.9.2      03/19/2022      - Added parameter clip2. (vinverse only) <br>
  v0.9.2      03/19/2022      - Added parameter clip2. (vinverse only) <br>
  v0.9.1      03/14/2022      - Changed MT mode from MT_NICE_FILTER to [[MT_MULTI_INSTANCE]].
  v0.9.1      03/14/2022      - Changed MT mode from MT_NICE_FILTER to [[MT_MULTI_INSTANCE]].

Revision as of 15:03, 15 April 2022

Abstract
Author tp7, Asd-g
Version v0.93
Download vinverse-0.9.3.7z
Category Luma Equalization
License MIT but binaries are GPLv2
Discussion Doom9 Thread

Description

A modern rewrite of a simple but effective plugin to remove residual combing originally based on an AviSynth script by Didée and then written as a plugin by tritical.
This plugin also includes a fast implementation of the Vinverse2 function (yet another script written by Didée).

Requirements


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


vinverse (clip, float "sstr" int "amnt", int "uv", float "scl", int "opt", clip "clip2", int "thr")
vinverse2 (clip, float "sstr" int "amnt", int "uv", float "scl", int "opt")


clip   =
Input clip


float  sstr = 2.7
Strength of contra sharpening.


int  amnt =
Change no pixel by more than this.
Valid range: 0 to the maximum range the input clip's bitdepth.
Default: range_max ((2 ^ bit_depth) - 1). For example, for 8-bit is 255 and for 16-bit is 65535.


int  uv = 3
Chroma mode, as in MaskTools2:
  • 1 = trash chroma
  • 2 = pass chroma through (copy from input clip)
  • 3 = process chroma


float  scl = 0.25
Scale factor for VshrpD*VblurD < 0


int  opt = -1
Sets which cpu optimizations to use.
  • -1: Auto-detect.
  • 0: Use C++ code.
  • 1: Use SSE2 code.
  • 2: Use AVX2 code.
  • 3: Use AVX512 code.
Default: -1.


clip  clip2 =
Only applicable to vinverse.
External clip from which to take contra sharpening.
This clip must be the same length, width, height, and colorspace as the input clip.


int  thr = 0
Threshold; only applicable to vinverse.
If the absolute difference between the source and the blurred pixel is below this threshold, the pixel is just copied otherwirse it's processed.
Must be between 0 and range_max.
Default: 0 (every pixel is processed).


Examples

Vinverse with default settings:

AviSource("blah.avi")
Vinverse(sstr=2.7, amnt=255, uv=3, scl=0.25)


Changelog

Version      Date            Changes
v0.9.3 04/03/2022 - Added parameter thr. (vinverse only)
v0.9.2 03/19/2022 - Added parameter clip2. (vinverse only)
v0.9.1 03/14/2022 - Changed MT mode from MT_NICE_FILTER to MT_MULTI_INSTANCE. - Added support for 10..16-bit clips. - Added AVX2 and AVX512 code. - Added parameter opt. - Added support for frame properties passthrough. - Added version.
v0.9 11/30/2013 - Initial release


Archived Downloads

Version Download Source Code
v0.9 vinverse-x86.zip

vinverse-x64.zip

vinverse-0.9.zip


  • GitHub - Source code repository (update).
  • GitHub - Source code repository.




Back to External Filters