<?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/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Mjb</id>
		<title>Avisynth wiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://avisynth.nl/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Mjb"/>
		<link rel="alternate" type="text/html" href="http://avisynth.nl/index.php/Special:Contributions/Mjb"/>
		<updated>2026-04-07T15:59:55Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.19.24</generator>

	<entry>
		<id>http://avisynth.nl/index.php/HistogramAdjust</id>
		<title>HistogramAdjust</title>
		<link rel="alternate" type="text/html" href="http://avisynth.nl/index.php/HistogramAdjust"/>
				<updated>2018-07-15T07:12:33Z</updated>
		
		<summary type="html">&lt;p&gt;Mjb: it seems parameter w should be mf, and something should be said about the name change. nothing else checked&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
{{FilterCat4|External_filters|Plugins|&amp;lt;!-- category --&amp;gt;TODO|&amp;lt;!-- category --&amp;gt;TODO}}&lt;br /&gt;
&lt;br /&gt;
{{Filter3&lt;br /&gt;
|[http://www.avisynth.nl/users/vcmohan/ V.C.Mohan]&lt;br /&gt;
|17 Oct 2017 &lt;br /&gt;
|[http://www.avisynth.nl/users/vcmohan/modPlus/modPlus.7z modPlus.7z]&lt;br /&gt;
|4=&amp;lt;!-- category --&amp;gt;External filters&lt;br /&gt;
|5=&amp;lt;!-- license --&amp;gt;[https://www.gnu.org/licenses/gpl-2.0.txt GPLv2]&lt;br /&gt;
|6=&amp;lt;!-- discussion URL --&amp;gt;[https://forum.doom9.org/showthread.php?p=719889#post719889 HistogramAdjust plugin]}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== Description ==&lt;br /&gt;
&amp;lt;!----&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This function, formerly named HistogramAdjust but now named TweakHist, adjusts the histogram of a frame by either equalizing it or by matching with histogram of another image, or with given histogram table of values. [http://www.avisynth.nl/users/vcmohan/modPlus/TweakHist.html Full Description]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== Requirements ==&lt;br /&gt;
* AviSynth+ r2347 or greater &lt;br /&gt;
* Source video: Progressive &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== [[Script variables|Syntax and Parameters]] ==&lt;br /&gt;
:{{Template:FuncDef|&amp;lt;!-- function name --&amp;gt;TweakHist(''clip'', ''&amp;lt;!-- par 1 type --&amp;gt;int type, clip mclip, int mf, int limit, int rgb &amp;lt;!-- par 1 name --&amp;gt;)}}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
::{{Par2| |clip| }}&lt;br /&gt;
::: Input clip.       &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
::{{Par2|&amp;lt;!-- par 3 type --&amp;gt;int|&amp;lt;!-- par 3 name --&amp;gt;|&amp;lt;!-- par 3 default value --&amp;gt;}}&lt;br /&gt;
::: Luma value % of maximum.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
::{{Par2|&amp;lt;!-- par 4 type --&amp;gt;clip|&amp;lt;!-- par 4 name --&amp;gt;|&amp;lt;!-- par 4 default value --&amp;gt;}}&lt;br /&gt;
:::% age of population or cumulative population at this luma value&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
::{{Par2|&amp;lt;!-- par 5 type --&amp;gt;int|&amp;lt;!-- par 5 name --&amp;gt;type|&amp;lt;!-- par 5 default value --&amp;gt;1}}&lt;br /&gt;
::: Type of process&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
::{{Par2|&amp;lt;!-- par 6 type --&amp;gt;clip|&amp;lt;!-- par 6 name --&amp;gt;mclip|&amp;lt;!-- par 6 default value --&amp;gt;dummy clip}}&lt;br /&gt;
::: Clip in which image for matching is available.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
::{{Par2|&amp;lt;!-- par 7 type --&amp;gt;integer, may be specified for type = 2 option|&amp;lt;!-- par 7 name --&amp;gt;mf|&amp;lt;!-- par 7 default value --&amp;gt;0}}&lt;br /&gt;
::: Frame number on clip for matching.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
::{{Par2|&amp;lt;!-- par 8 type --&amp;gt;int|&amp;lt;!-- par 8 name --&amp;gt;limit|&amp;lt;!-- par 8 default value --&amp;gt;100}}&lt;br /&gt;
::: Limit on % of change in value from original for tweaking allowed.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
::{{Par2|&amp;lt;!-- par 9 type --&amp;gt;int|&amp;lt;!-- par 9 name --&amp;gt;rgb|&amp;lt;!-- par 9 default value --&amp;gt;1}}&lt;br /&gt;
::: Percentage of deviation from original value of luma to be allowed.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
 TweakHist() &lt;br /&gt;
 TweakHist(c,type=2,mclip=mm,mf=26)&lt;br /&gt;
 TweakHist(c,15,2, 30,12, 50, 33, 90, 12,150,35,200,10, type=3,limit=50)&lt;br /&gt;
 TweakHist(20,1,150,100,255,110, type=4,limit = 70) &lt;br /&gt;
&lt;br /&gt;
:RGB input. Repeated for each color&lt;br /&gt;
&lt;br /&gt;
 TweakHist(limit = 70,rgb = 0)&lt;br /&gt;
 TweakHist(limit = 70,rgb = 1)&lt;br /&gt;
 TweakHist(limit = 50, rgb = 2)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
-----------------------------------------------&lt;br /&gt;
'''Back to [[External_filters|External Filters]] &amp;amp;larr;'''&lt;/div&gt;</summary>
		<author><name>Mjb</name></author>	</entry>

	<entry>
		<id>http://avisynth.nl/index.php/HistogramAdjust</id>
		<title>HistogramAdjust</title>
		<link rel="alternate" type="text/html" href="http://avisynth.nl/index.php/HistogramAdjust"/>
				<updated>2018-07-15T07:08:55Z</updated>
		
		<summary type="html">&lt;p&gt;Mjb: reverted to what seems to be the last version before Yakub2.X got it mixed up with GBlur&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
{{FilterCat4|External_filters|Plugins|&amp;lt;!-- category --&amp;gt;TODO|&amp;lt;!-- category --&amp;gt;TODO}}&lt;br /&gt;
&lt;br /&gt;
{{Filter3&lt;br /&gt;
|[http://www.avisynth.nl/users/vcmohan/ V.C.Mohan]&lt;br /&gt;
|17 Oct 2017 &lt;br /&gt;
|[http://www.avisynth.nl/users/vcmohan/modPlus/modPlus.7z modPlus.7z]&lt;br /&gt;
|4=&amp;lt;!-- category --&amp;gt;External filters&lt;br /&gt;
|5=&amp;lt;!-- license --&amp;gt;[https://www.gnu.org/licenses/gpl-2.0.txt GPLv2]&lt;br /&gt;
|6=&amp;lt;!-- discussion URL --&amp;gt;[https://forum.doom9.org/showthread.php?p=719889#post719889 HistogramAdjust  plugin]}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== Description ==&lt;br /&gt;
&amp;lt;!----&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This function adjusts the histogram of a frame by either equalizing it or by matching with histogram of another image, or with given histogram table of values. [http://www.avisynth.nl/users/vcmohan/modPlus/TweakHist.html Full Description]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== Requirements ==&lt;br /&gt;
* AviSynth+ r2347 or greater &lt;br /&gt;
* Source video: Progressive &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== [[Script variables|Syntax and Parameters]] ==&lt;br /&gt;
:{{Template:FuncDef|&amp;lt;!-- function name --&amp;gt;HistogramAdjust(''clip'', ''&amp;lt;!-- par 1 type --&amp;gt;int type, clip mclip, int mf, int limit, int rgb &amp;lt;!-- par 1 name --&amp;gt;)}}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
::{{Par2| |clip| }}&lt;br /&gt;
::: Input clip.       &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
::{{Par2|&amp;lt;!-- par 3 type --&amp;gt;int|&amp;lt;!-- par 3 name --&amp;gt;|&amp;lt;!-- par 3 default value --&amp;gt;}}&lt;br /&gt;
::: Luma value % of maximum.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
::{{Par2|&amp;lt;!-- par 4 type --&amp;gt;clip|&amp;lt;!-- par 4 name --&amp;gt;|&amp;lt;!-- par 4 default value --&amp;gt;}}&lt;br /&gt;
:::% age of population or cumulative population at this luma value&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
::{{Par2|&amp;lt;!-- par 5 type --&amp;gt;int|&amp;lt;!-- par 5 name --&amp;gt;type|&amp;lt;!-- par 5 default value --&amp;gt;1}}&lt;br /&gt;
::: Type of process&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
::{{Par2|&amp;lt;!-- par 6 type --&amp;gt;clip|&amp;lt;!-- par 6 name --&amp;gt;mclip|&amp;lt;!-- par 6 default value --&amp;gt;dummy clip}}&lt;br /&gt;
::: Clip in which image for matching is available.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
::{{Par2|&amp;lt;!-- par 7 type --&amp;gt;integer, may be specified for type = 2 option|&amp;lt;!-- par 7 name --&amp;gt;w|&amp;lt;!-- par 7 default value --&amp;gt;0}}&lt;br /&gt;
::: Frame number on clip for matching.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
::{{Par2|&amp;lt;!-- par 8 type --&amp;gt;int|&amp;lt;!-- par 8 name --&amp;gt;limit|&amp;lt;!-- par 8 default value --&amp;gt;100}}&lt;br /&gt;
::: Limit on % of change in value from original for tweaking allowed.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
::{{Par2|&amp;lt;!-- par 9 type --&amp;gt;int|&amp;lt;!-- par 9 name --&amp;gt;rgb|&amp;lt;!-- par 9 default value --&amp;gt;1}}&lt;br /&gt;
::: Percentage of deviation from original value of luma to be allowed.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
 TweakHist() &lt;br /&gt;
 TweakHist(c,type=2,mclip=mm,mf=26)&lt;br /&gt;
 TweakHist(c,15,2, 30,12, 50, 33, 90, 12,150,35,200,10, type=3,limit=50)&lt;br /&gt;
 TweakHist(20,1,150,100,255,110, type=4,limit = 70) &lt;br /&gt;
&lt;br /&gt;
:RGB input. Repeated for each color&lt;br /&gt;
&lt;br /&gt;
 TweakHist(limit = 70,rgb = 0)&lt;br /&gt;
 TweakHist(limit = 70,rgb = 1)&lt;br /&gt;
 TweakHist(limit = 50, rgb = 2)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
-----------------------------------------------&lt;br /&gt;
'''Back to [[External_filters|External Filters]] &amp;amp;larr;'''&lt;/div&gt;</summary>
		<author><name>Mjb</name></author>	</entry>

	</feed>