VsLGhost
From Avisynth wiki
Abstract | |
---|---|
Author | Asd-g |
Version | v1.0.0 |
Download | vsLGhost-1.0.0.7z |
Category | Ghost Removal |
License | GPLv3 |
Discussion |
Contents |
Description
vsLGhost: Luminance Ghost reduction filter. Can be used for removing luminance ghost or edge ghost (ringing).
This is a port of the VapourSynth plugin LGhost.
See LGhost for the original AviSynth plugin.
Requirements
- [x86/x64]: AviSynth 3.6 or greater is required in order to use this filter.
- Supported color formats: Y8, YV12, YV16, YV24, YV411
- AviSynth+: all planar formats (8/10/12/14/16/32-bit, Y, YUV(A), and RGB(A) with or without alpha) are supported.
Syntax and Parameters
- vsLGhost (clip, int[] mode, int[] shift, int[] intensity, int "y", int "u", int "v", int "opt"))
- clip =
- A clip to process. All planar formats are supported.
- clip =
- int[] mode =
- Ghost removal mode.
- 1 : Edge
- 2 : Luminance
- 3 : Rising edge
- 4 : Falling edge
- Ghost removal mode.
- int[] mode =
- int[] shift =
- Width to shift.
- Must be between -width and width (exclusive).
- int[] shift =
- int[] intensity =
- Strength.
- Must not be 0 and must be between -128 and 127 (inclusive).
- int[] intensity =
- int y = 3
- int u = 2
- int v = 2
- Planes to process.
- 1 : Return garbage.
- 2 : Copy plane.
- 3 : Process plane. Always process planes when the clip is RGB.
- Planes to process.
- int y = 3
- 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.
- Sets which cpu optimizations to use.
- int opt = -1
- Each ghost consists of individual value from
mode
,shift
andintensity
. - For example,
vsLGhost(mode=[2, 2, 1, 1], shift=[4, 7, -4, -7], intensity=[20, 10, -15, -5])
corresponds to four ghosts. - The first ghost is (mode=2, shift=4, intensity=20), the second ghost is (mode=2, shift=7, intensity=10), and so on.
- Each ghost consists of individual value from
Examples
AviSource("blah.avi") vsLGhost(mode=[2, 2, 1, 1], shift=[4, 7, -4, -7], intensity=[20, 10, -15, -5])
Changelog
Version Date Changes
v1.0.0 2020/08/28 - Initial release; port of the VapourSynth plugin
External Links
- GitHub - Source code repository.
Back to External Filters ←