<?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=SmoothLevels</id>
		<title>SmoothLevels - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://avisynth.nl/index.php?action=history&amp;feed=atom&amp;title=SmoothLevels"/>
		<link rel="alternate" type="text/html" href="http://avisynth.nl/index.php?title=SmoothLevels&amp;action=history"/>
		<updated>2026-05-17T23:23:31Z</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=SmoothLevels&amp;diff=7413&amp;oldid=prev</id>
		<title>Raffriff42: line break</title>
		<link rel="alternate" type="text/html" href="http://avisynth.nl/index.php?title=SmoothLevels&amp;diff=7413&amp;oldid=prev"/>
				<updated>2015-12-11T21:22:02Z</updated>
		
		<summary type="html">&lt;p&gt;line break&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 21:22, 11 December 2015&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;''see [[SmoothAdjust]], SmoothLevels' successor''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;''see [[SmoothAdjust]], SmoothLevels' successor''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;{{Filter|{{Author/LaTo}}|v1.02 - Update 2009/01/28|[http://latoninf.free.fr/d9/SA/ SmoothLevels]|Levels and Chroma|&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;{{Filter|{{Author/LaTo}}|v1.02 - Update 2009/01/28|[http://latoninf.free.fr/d9/SA/ SmoothLevels]|Levels and Chroma|&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Raffriff42</name></author>	</entry>

	<entry>
		<id>http://avisynth.nl/index.php?title=SmoothLevels&amp;diff=7412&amp;oldid=prev</id>
		<title>Raffriff42: link to SmoothAdjust</title>
		<link rel="alternate" type="text/html" href="http://avisynth.nl/index.php?title=SmoothLevels&amp;diff=7412&amp;oldid=prev"/>
				<updated>2015-12-11T21:21:40Z</updated>
		
		<summary type="html">&lt;p&gt;link to SmoothAdjust&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 21:21, 11 December 2015&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;''see [[SmoothAdjust]], SmoothLevels' successor''&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;{{Filter|{{Author/LaTo}}|v1.02 - Update 2009/01/28|[http://latoninf.free.fr/d9/SA/ SmoothLevels]|Levels and Chroma|&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;{{Filter|{{Author/LaTo}}|v1.02 - Update 2009/01/28|[http://latoninf.free.fr/d9/SA/ SmoothLevels]|Levels and Chroma|&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[YV12]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[YV12]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Raffriff42</name></author>	</entry>

	<entry>
		<id>http://avisynth.nl/index.php?title=SmoothLevels&amp;diff=1368&amp;oldid=prev</id>
		<title>Admin: 1 revision</title>
		<link rel="alternate" type="text/html" href="http://avisynth.nl/index.php?title=SmoothLevels&amp;diff=1368&amp;oldid=prev"/>
				<updated>2013-05-19T22:03:49Z</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 22:03, 19 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=SmoothLevels&amp;diff=1367&amp;oldid=prev</id>
		<title>Wilbert at 21:34, 18 May 2013</title>
		<link rel="alternate" type="text/html" href="http://avisynth.nl/index.php?title=SmoothLevels&amp;diff=1367&amp;oldid=prev"/>
				<updated>2013-05-18T21:34:42Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Filter|{{Author/LaTo}}|v1.02 - Update 2009/01/28|[http://latoninf.free.fr/d9/SA/ SmoothLevels]|Levels and Chroma|&lt;br /&gt;
[[YV12]]&lt;br /&gt;
|}}&lt;br /&gt;
&lt;br /&gt;
{{Template:FuncDef| SmoothLevels(clip input, int &amp;quot;input_low&amp;quot;, float &amp;quot;gamma&amp;quot;, int &amp;quot;input_high&amp;quot;, int &amp;quot;output_low&amp;quot;, int &amp;quot;output_high&amp;quot;,&lt;br /&gt;
int &amp;quot;chroma&amp;quot;, int &amp;quot;limiter&amp;quot;,&lt;br /&gt;
int &amp;quot;Lmode&amp;quot;, int &amp;quot;DarkSTR&amp;quot;, int &amp;quot;BrightSTR&amp;quot;, int &amp;quot;Ecenter&amp;quot;, int &amp;quot;protect&amp;quot;, int &amp;quot;Ecurve&amp;quot;,&lt;br /&gt;
int &amp;quot;Smode&amp;quot;, int &amp;quot;Mfactor&amp;quot;, int &amp;quot;RGmode&amp;quot;, bool &amp;quot;useGF&amp;quot;,&lt;br /&gt;
bool &amp;quot;show&amp;quot;, string &amp;quot;preset&amp;quot;)}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Abstract ==&lt;br /&gt;
Advanced levels adjustment function, with limiting &amp;amp; smoothing parameters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Description == &lt;br /&gt;
Some of this information may be outdated and/or incomplete, check the [http://forum.doom9.org/showthread.php?t=137479 Doom9 Thread] for up-to-date version !!!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Required Filters ==&lt;br /&gt;
* Masktools (v2.0a35)&lt;br /&gt;
* Removegrain (v1.0PR)&lt;br /&gt;
* GradFun2db (v1.0)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
* General&lt;br /&gt;
 Levels options:&lt;br /&gt;
 ---------------&lt;br /&gt;
 input_low, gamma, input_high, output_low, output_high [default: 0, 1.0, 255, 0, 255]&lt;br /&gt;
 &lt;br /&gt;
 chroma [default: 50]&lt;br /&gt;
 ---------------------&lt;br /&gt;
 0   = no chroma processing     (similar as Ylevels)&lt;br /&gt;
 xx  = intermediary&lt;br /&gt;
 100 = normal chroma processing (similar as Levels)&lt;br /&gt;
 &lt;br /&gt;
 limiter [default: 0]&lt;br /&gt;
 --------------------&lt;br /&gt;
 0 = no limiter             (similar as Ylevels)&lt;br /&gt;
 1 = input limiter&lt;br /&gt;
 2 = output limiter         (similar as Levels: coring=false)&lt;br /&gt;
 3 = input &amp;amp; output limiter (similar as Levels: coring=true)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Limiting&lt;br /&gt;
 Lmode [default: 0]&lt;br /&gt;
 ------------------&lt;br /&gt;
 0 = no limit&lt;br /&gt;
 1 = limit conversion on dark &amp;amp; bright areas (apply conversion @0%   at luma=0 &amp;amp; @100% at luma=Ecenter &amp;amp; @0% at luma=255)&lt;br /&gt;
 2 = limit conversion on dark areas          (apply conversion @0%   at luma=0 &amp;amp; @100% at luma=255)&lt;br /&gt;
 3 = limit conversion on bright areas        (apply conversion @100% at luma=0 &amp;amp; @0%   at luma=255)&lt;br /&gt;
 &lt;br /&gt;
 DarkSTR [default: 100]&lt;br /&gt;
 ----------------------&lt;br /&gt;
 Strength for limiting: the higher, the more conversion are reduced on dark areas (for Lmode=1&amp;amp;2)&lt;br /&gt;
 &lt;br /&gt;
 BrightSTR [default: 100]&lt;br /&gt;
 ------------------------&lt;br /&gt;
 Strength for limiting: the higher, the more conversion are reduced on bright areas (for Lmode=1&amp;amp;3)&lt;br /&gt;
 &lt;br /&gt;
 Ecenter [default: 128]&lt;br /&gt;
 ----------------------&lt;br /&gt;
 Center of expression for Lmode=1&lt;br /&gt;
  &lt;br /&gt;
 protect [default: -1]&lt;br /&gt;
 ---------------------&lt;br /&gt;
 -1  = protect off&lt;br /&gt;
 &amp;gt;=0 = pure black protection&lt;br /&gt;
       ---&amp;gt; don't apply conversion on pixels egal or below this value &lt;br /&gt;
            (ex: with 16, the black areas like borders &lt;br /&gt;
                 and generic are untouched so they don't look washed out)&lt;br /&gt;
 &lt;br /&gt;
 Ecurve [default: 0]&lt;br /&gt;
 -------------------&lt;br /&gt;
 Curve used for limit &amp;amp; protect:&lt;br /&gt;
 0 = use sine curve&lt;br /&gt;
 1 = use linear curve&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Smoothing&lt;br /&gt;
 Smode [default: -2]&lt;br /&gt;
 -------------------&lt;br /&gt;
 2  = smooth on, maxdiff must be &amp;lt; to &amp;quot;255/Mfactor&amp;quot;&lt;br /&gt;
 1  = smooth on, maxdiff must be &amp;lt; to &amp;quot;128/Mfactor&amp;quot;&lt;br /&gt;
 0  = smooth off&lt;br /&gt;
 -1 = smooth on if maxdiff &amp;lt; &amp;quot;128/Mfactor&amp;quot;, else off&lt;br /&gt;
 -2 = smooth on if maxdiff &amp;lt; &amp;quot;255/Mfactor&amp;quot;, else off&lt;br /&gt;
 &lt;br /&gt;
 Mfactor [default: 2]&lt;br /&gt;
 --------------------&lt;br /&gt;
 The higher, the more precise but the less maxdiff alowed: &lt;br /&gt;
 maxdiff=128/Mfactor for Smode1&amp;amp;-1 and maxdiff=255/Mfactor for Smode2&amp;amp;-2&lt;br /&gt;
 &lt;br /&gt;
 RGmode [default: 12]&lt;br /&gt;
 --------------------&lt;br /&gt;
 In strength order: + 19 &amp;gt; 12 &amp;gt;&amp;gt; 20 &amp;gt; 11 -&lt;br /&gt;
 &lt;br /&gt;
 useGF [default: true]&lt;br /&gt;
 ---------------------&lt;br /&gt;
 Use gradfun2db on top of removegrain: prevent posterize when doing levels conversion&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Others&lt;br /&gt;
 show [default: false]&lt;br /&gt;
 ---------------------&lt;br /&gt;
 Show the debug clip&lt;br /&gt;
 &lt;br /&gt;
 preset: &lt;br /&gt;
 -------&lt;br /&gt;
 pc2tv = &amp;quot;PC -&amp;gt; TV&amp;quot; conversion&lt;br /&gt;
 tv2pc = &amp;quot;TV -&amp;gt; PC&amp;quot; conversion&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
[http://forum.doom9.org/showthread.php?t=137479 Doom9 Thread]&lt;br /&gt;
&lt;br /&gt;
[[Category:External filters]]&lt;/div&gt;</summary>
		<author><name>Wilbert</name></author>	</entry>

	</feed>