<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://avisynth.nl/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://avisynth.nl/index.php?action=history&amp;feed=atom&amp;title=VsLGhost</id>
		<title>VsLGhost - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://avisynth.nl/index.php?action=history&amp;feed=atom&amp;title=VsLGhost"/>
		<link rel="alternate" type="text/html" href="http://avisynth.nl/index.php?title=VsLGhost&amp;action=history"/>
		<updated>2026-05-01T20:54:19Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.19.24</generator>

	<entry>
		<id>http://avisynth.nl/index.php?title=VsLGhost&amp;diff=12095&amp;oldid=prev</id>
		<title>Reel.Deal: vsLGhost</title>
		<link rel="alternate" type="text/html" href="http://avisynth.nl/index.php?title=VsLGhost&amp;diff=12095&amp;oldid=prev"/>
				<updated>2020-08-29T20:56:07Z</updated>
		
		<summary type="html">&lt;p&gt;vsLGhost&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{FilterCat6|External_filters|Plugins|Plugins_x64|Restoration_filters|Ghost_Removal|Deep_color_tools}}&lt;br /&gt;
{{Filter3&lt;br /&gt;
|1={{Author/Asd-g}}&lt;br /&gt;
|2=v1.0.0&lt;br /&gt;
|3=[https://github.com/Asd-g/AviSynthPlus-vsLGhost/releases vsLGhost-1.0.0.7z]&lt;br /&gt;
|4=Ghost Removal&lt;br /&gt;
|5=[http://www.gnu.org/licenses/gpl-3.0.txt GPLv3]&lt;br /&gt;
|6=}}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== Description ==&lt;br /&gt;
[[vsLGhost]]: Luminance Ghost reduction filter. Can be used for removing luminance ghost or edge ghost (ringing).&lt;br /&gt;
&lt;br /&gt;
This is a port of the [https://github.com/HomeOfVapourSynthEvolution/VapourSynth-LGhost VapourSynth plugin LGhost].&lt;br /&gt;
&lt;br /&gt;
See [[LGhost]] for the original AviSynth plugin.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== Requirements ==&lt;br /&gt;
* [x86/x64]: '''[[AviSynth+|AviSynth 3.6]] or greater is required in order to use this filter.'''&lt;br /&gt;
* Supported color formats: [[Y8]], [[YV12]], [[YV16]], [[YV24]], [[YV411]]&lt;br /&gt;
**AviSynth+: all [[planar]] formats (8/10/12/14/16/32-bit, Y, YUV(A), and RGB(A) with or without alpha) are supported.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== [[Script variables|Syntax and Parameters]] ==&lt;br /&gt;
&lt;br /&gt;
:{{Template:FuncDef|vsLGhost (clip, int[] mode, int[] shift, int[] intensity, int &amp;quot;y&amp;quot;, int &amp;quot;u&amp;quot;, int &amp;quot;v&amp;quot;, int &amp;quot;opt&amp;quot;))}}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
::{{Par2| |clip| }}&lt;br /&gt;
:::A clip to process. All planar formats are supported.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
::{{Par2|mode|int[]|}}&lt;br /&gt;
:::Ghost removal mode.&lt;br /&gt;
:::*1 : Edge&lt;br /&gt;
:::*2 : Luminance&lt;br /&gt;
:::*3 : Rising edge&lt;br /&gt;
:::*4 : Falling edge&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
::{{Par2|shift|int[]|}}&lt;br /&gt;
:::Width to shift.&lt;br /&gt;
:::Must be between -width and width (exclusive).&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
::{{Par2|intensity|int[]|}}&lt;br /&gt;
:::Strength.&lt;br /&gt;
:::Must not be 0 and must be between -128 and 127 (inclusive).&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
::{{Par2|y|int|3}}&lt;br /&gt;
::{{Par2|u|int|2}}&lt;br /&gt;
::{{Par2|v|int|2}}&lt;br /&gt;
:::Planes to process.&lt;br /&gt;
:::*1 : Return garbage.&lt;br /&gt;
:::*2 : Copy plane.&lt;br /&gt;
:::*3 : Process plane. Always process planes when the clip is RGB.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
::{{Par2|opt|int|-1}}&lt;br /&gt;
:::Sets which cpu optimizations to use.&lt;br /&gt;
:::*-1 : Auto-detect.&lt;br /&gt;
:::*0 : Use C++ code.&lt;br /&gt;
:::*1 : Use SSE2 code.&lt;br /&gt;
:::*2 : Use AVX2 code.&lt;br /&gt;
:::*3 : Use AVX512 code.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
::Each ghost consists of individual value from &amp;lt;code&amp;gt;mode&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;shift&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;intensity&amp;lt;/code&amp;gt;.&lt;br /&gt;
::For example, &amp;lt;code&amp;gt;vsLGhost(mode=[2, 2, 1, 1], shift=[4, 7, -4, -7], intensity=[20, 10, -15, -5])&amp;lt;/code&amp;gt; corresponds to four ghosts. &lt;br /&gt;
::The first ghost is (mode=2, shift=4, intensity=20), the second ghost is (mode=2, shift=7, intensity=10), and so on.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== Examples ==&lt;br /&gt;
 AviSource(&amp;quot;blah.avi&amp;quot;)&lt;br /&gt;
 vsLGhost(mode=[2, 2, 1, 1], shift=[4, 7, -4, -7], intensity=[20, 10, -15, -5])&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== Changelog ==&lt;br /&gt;
 Version      Date            Changes&amp;lt;br&amp;gt;&lt;br /&gt;
 v1.0.0       2020/08/28      - Initial release; port of the VapourSynth plugin&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== External Links ==&lt;br /&gt;
*[https://github.com/Asd-g/AviSynthPlus-vsLGhost GitHub] - Source code repository.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
-----------------------------------------------&lt;br /&gt;
'''Back to [[External_filters#Ghost_Removal|External Filters]] &amp;amp;larr;'''&lt;br /&gt;
-----------------------------------------------&lt;/div&gt;</summary>
		<author><name>Reel.Deal</name></author>	</entry>

	</feed>