<?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%2FYV12Substract</id>
		<title>MaskTools/YV12Substract - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://avisynth.nl/index.php?action=history&amp;feed=atom&amp;title=MaskTools%2FYV12Substract"/>
		<link rel="alternate" type="text/html" href="http://avisynth.nl/index.php?title=MaskTools/YV12Substract&amp;action=history"/>
		<updated>2026-04-08T01:16:49Z</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/YV12Substract&amp;diff=183&amp;oldid=prev</id>
		<title>Admin: 1 revision</title>
		<link rel="alternate" type="text/html" href="http://avisynth.nl/index.php?title=MaskTools/YV12Substract&amp;diff=183&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/YV12Substract&amp;diff=182&amp;oldid=prev</id>
		<title>Gzarkadas: New page: {{FilterCat|External_filters|Other_filters|Support_filters}}  {{FuncDef|YV12Subtract (clip1, clip2, int tol [, bool &quot;widerange&quot;])}}  '''Plugin''': MaskTools  This filter computes the d...</title>
		<link rel="alternate" type="text/html" href="http://avisynth.nl/index.php?title=MaskTools/YV12Substract&amp;diff=182&amp;oldid=prev"/>
				<updated>2008-02-28T22:35:48Z</updated>
		
		<summary type="html">&lt;p&gt;New page: {{FilterCat|External_filters|Other_filters|Support_filters}}  {{FuncDef|YV12Subtract (clip1, clip2, int tol [, bool &amp;quot;widerange&amp;quot;])}}  &amp;#039;&amp;#039;&amp;#039;Plugin&amp;#039;&amp;#039;&amp;#039;: &lt;a href=&quot;/index.php/MaskTools&quot; title=&quot;MaskTools&quot;&gt;MaskTools&lt;/a&gt;  This filter computes the d...&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|YV12Subtract (clip1, clip2, int tol [, bool &amp;quot;widerange&amp;quot;])}}&lt;br /&gt;
&lt;br /&gt;
'''Plugin''': [[MaskTools]]&lt;br /&gt;
&lt;br /&gt;
This filter computes the difference between the two clips. There are several ways of computing this difference, depending on the values of &amp;lt;tt&amp;gt;widerange&amp;lt;/tt&amp;gt; and of &amp;lt;tt&amp;gt;tol&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;tt&amp;gt;widerange&amp;lt;/tt&amp;gt; = true : We compute the difference (n) between the two clips, and we return &lt;br /&gt;
 r = 128 + 128 * pow(n/255, 1/&amp;lt;tt&amp;gt;tol&amp;lt;/tt&amp;gt;). &lt;br /&gt;
: If &amp;lt;tt&amp;gt;tol&amp;lt;/tt&amp;gt; &amp;lt; 0, instead of 1/&amp;lt;tt&amp;gt;tol&amp;lt;/tt&amp;gt; we put 0.5 in the formula above.&lt;br /&gt;
* widerange = false (and)&lt;br /&gt;
:* &amp;lt;tt&amp;gt;tol&amp;lt;/tt&amp;gt; &amp;lt; 0 : we compute the absolute difference (n) between the two clips, and we return &lt;br /&gt;
 r = n / 2 + 128.&lt;br /&gt;
:* &amp;lt;tt&amp;gt;tol&amp;lt;/tt&amp;gt; &amp;gt;= 0 : we compute the absolute difference (n) between the two clips, and we return 0 if n is lower than &amp;lt;tt&amp;gt;tol&amp;lt;/tt&amp;gt;, n - &amp;lt;tt&amp;gt;tol&amp;lt;/tt&amp;gt; else. &lt;br /&gt;
&lt;br /&gt;
Defaults are: &amp;lt;tt&amp;gt;tol&amp;lt;/tt&amp;gt; = -1 and &amp;lt;tt&amp;gt;widerange&amp;lt;/tt&amp;gt; = false. &lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Back to [[MaskTools]].&lt;/div&gt;</summary>
		<author><name>Gzarkadas</name></author>	</entry>

	</feed>