<?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=MaskTools%2FYV12Convolution</id>
		<title>MaskTools/YV12Convolution - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://avisynth.nl/index.php?action=history&amp;feed=atom&amp;title=MaskTools%2FYV12Convolution"/>
		<link rel="alternate" type="text/html" href="http://avisynth.nl/index.php?title=MaskTools/YV12Convolution&amp;action=history"/>
		<updated>2026-06-07T03:48:55Z</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=MaskTools/YV12Convolution&amp;diff=181&amp;oldid=prev</id>
		<title>Admin: 1 revision</title>
		<link rel="alternate" type="text/html" href="http://avisynth.nl/index.php?title=MaskTools/YV12Convolution&amp;diff=181&amp;oldid=prev"/>
				<updated>2013-05-09T15:02:00Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 15:02, 9 May 2013&lt;/td&gt;
			&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	<entry>
		<id>http://avisynth.nl/index.php?title=MaskTools/YV12Convolution&amp;diff=180&amp;oldid=prev</id>
		<title>Gzarkadas: New page: {{FilterCat|External_filters|Other_filters|Support_filters}}  {{FuncDef|YV12Convolution (clip[, string &quot;horizontal&quot;[, string &quot;vertical&quot;[, int &quot;total&quot;[, bool &quot;automatic&quot;[, bool &quot;saturate&quot;]]...</title>
		<link rel="alternate" type="text/html" href="http://avisynth.nl/index.php?title=MaskTools/YV12Convolution&amp;diff=180&amp;oldid=prev"/>
				<updated>2008-02-28T22:20:57Z</updated>
		
		<summary type="html">&lt;p&gt;New page: {{FilterCat|External_filters|Other_filters|Support_filters}}  {{FuncDef|YV12Convolution (clip[, string &amp;quot;horizontal&amp;quot;[, string &amp;quot;vertical&amp;quot;[, int &amp;quot;total&amp;quot;[, bool &amp;quot;automatic&amp;quot;[, bool &amp;quot;saturate&amp;quot;]]...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{FilterCat|External_filters|Other_filters|Support_filters}}&lt;br /&gt;
&lt;br /&gt;
{{FuncDef|YV12Convolution (clip[, string &amp;quot;horizontal&amp;quot;[, string &amp;quot;vertical&amp;quot;[, int &amp;quot;total&amp;quot;[, bool &amp;quot;automatic&amp;quot;[, bool &amp;quot;saturate&amp;quot;]]]]])}}&lt;br /&gt;
&lt;br /&gt;
'''Plugin''': [[MaskTools]]&lt;br /&gt;
&lt;br /&gt;
This filter computes the convolution product between the picture and the kernel defined by the multiplication of &amp;lt;tt&amp;gt;horizontal&amp;lt;/tt&amp;gt; by &amp;lt;tt&amp;gt;vertical&amp;lt;/tt&amp;gt;. These two strings represent vectors. They must have an odd number of integer or real numbers, separated by single spaces. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;total&amp;lt;/tt&amp;gt; is a normalization factor, by which the result of the product is divided. If &amp;lt;tt&amp;gt;automatic&amp;lt;/tt&amp;gt; is set to 'true', &amp;lt;tt&amp;gt;total&amp;lt;/tt&amp;gt; is the sum of the coefficients of the matrix. It means that, that way, overall brightness of the picture isn't touched. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;saturate&amp;lt;/tt&amp;gt; allows to choose the behavior of the filter when the result is a negative number:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;tt&amp;gt;saturate&amp;lt;/tt&amp;gt; = true : negative values are zeroed.&lt;br /&gt;
* &amp;lt;tt&amp;gt;saturate&amp;lt;/tt&amp;gt; = false : negative values are inverted. &lt;br /&gt;
&lt;br /&gt;
If &amp;lt;tt&amp;gt;total&amp;lt;/tt&amp;gt; is not defined, it is set to the sum of the coefficients of the convolution kernel, thus allowing a good normalization for bluring / sharpening kernels.&lt;br /&gt;
&lt;br /&gt;
If one of the coefficients of &amp;lt;tt&amp;gt;horizontal&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;vertical&amp;lt;/tt&amp;gt; is a real number, all the computations will be made with floats, so the filter will be slower.&lt;br /&gt;
&lt;br /&gt;
Defaults are: &amp;lt;tt&amp;gt;horizontal&amp;lt;/tt&amp;gt; = &amp;quot;1 1 1&amp;quot;, &amp;lt;tt&amp;gt;vertical&amp;lt;/tt&amp;gt; = &amp;quot;1 1 1&amp;quot;, &amp;lt;tt&amp;gt;automatic&amp;lt;/tt&amp;gt; = false, &amp;lt;tt&amp;gt;saturate&amp;lt;/tt&amp;gt; = true. &lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Back to [[MaskTools]].&lt;/div&gt;</summary>
		<author><name>Gzarkadas</name></author>	</entry>

	</feed>