<?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=Hysteria</id>
		<title>Hysteria - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://avisynth.nl/index.php?action=history&amp;feed=atom&amp;title=Hysteria"/>
		<link rel="alternate" type="text/html" href="http://avisynth.nl/index.php?title=Hysteria&amp;action=history"/>
		<updated>2026-06-02T23:54:04Z</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=Hysteria&amp;diff=9426&amp;oldid=prev</id>
		<title>Reel.Deal: Hysteria, a line darkening script by Scintilla.</title>
		<link rel="alternate" type="text/html" href="http://avisynth.nl/index.php?title=Hysteria&amp;diff=9426&amp;oldid=prev"/>
				<updated>2016-10-23T21:32:27Z</updated>
		
		<summary type="html">&lt;p&gt;Hysteria, a line darkening script by Scintilla.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{FilterCat4|External_filters|Scripts|Adjustment_filters|Line_darkeners}}&lt;br /&gt;
{{Filter3&lt;br /&gt;
| Scintilla&lt;br /&gt;
| 20161019&lt;br /&gt;
|[http://pastebin.com/raw/fvDdiV6m Hysteria-20161019.avsi]&lt;br /&gt;
| Line Darkeners&lt;br /&gt;
|6=[http://www.animemusicvideos.org/forum/viewtopic.php?t=101471 AnimeMusicVideos Thread]&lt;br /&gt;
|}}&lt;br /&gt;
== Description ==&lt;br /&gt;
Hysteria, a line darkening script by Scintilla.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== Requirements ==&lt;br /&gt;
* AviSynth 2.5.8 or [http://sourceforge.net/projects/avisynth2/ greater]&lt;br /&gt;
* Supported color formats: [[YV12]]&lt;br /&gt;
&lt;br /&gt;
=== Required Plugins ===&lt;br /&gt;
Latest versions of the following filters are recommended unless stated otherwise.&amp;lt;br&amp;gt;&lt;br /&gt;
*[[MaskTools2]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== [[Script variables|Syntax and Parameters]] ==&lt;br /&gt;
:{{Template:FuncDef| Hysteria (clip orig, float &amp;quot;strength&amp;quot;, bool &amp;quot;usemask&amp;quot;, int &amp;quot;lowthresh&amp;quot;, int &amp;quot;highthresh&amp;quot;, int &amp;quot;luma_cap&amp;quot;, int &amp;quot;maxchg&amp;quot;, int &amp;quot;minchg&amp;quot;, bool &amp;quot;showmask&amp;quot;)}}&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|strength|float|1.0}}&lt;br /&gt;
:::This is a multiplicative factor for the amounts by which the pixels are darkened.  Ordinarily, each pixel is darkened by the difference between its luma value and the average luma value of its brighter spatial neighbours.  So if you want more darkening, increase this value.&lt;br /&gt;
&amp;lt;br&amp;gt;    &lt;br /&gt;
::{{Par2|usemask|bool|true}}&lt;br /&gt;
:::Whether or not to apply the mask.  If false, the entire image will have its edges darkened instead of just the edges detected in the mask.  Could be useful on some sources(specifically, it will often make dark lines look thicker), but you will probably want to stick to lower values of strength if you choose to go that route.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
::{{Par2|lowthresh|int|6}}&lt;br /&gt;
:::This is the threshold used for the noisy mask. Increase this value if your mask is picking up too much noise around the edges, or decrease it if the mask is not being grown thick enough to cover all of each edge.&lt;br /&gt;
&amp;lt;br&amp;gt;        &lt;br /&gt;
::{{Par2|highthresh|int|20}}&lt;br /&gt;
:::This is the threshold used for the clean mask. Increase this value if your mask is picking up too many weaker edges, or decrease it if the mask is not picking up enough.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
::{{Par2|luma_cap|int|191}}&lt;br /&gt;
:::An idea swiped from FLD/VMToon. Any pixels brighter than this value will not be darkened at all, no matter what the rest of the parameters are.  This is useful if you have lighter edges that you do not want darkened.  0 will result in no darkening at all, while 255 will turn off the cap.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
::{{Par2|maxchg|int|255}}&lt;br /&gt;
:::No pixel will be darkened by more than this amount, no matter how high you set the strength parameter. This can be useful if you want to darken your weaker lines more without going overboard on the stronger ones.  0 will result in no darkening at all, while 255 (the default) will turn off the limiting.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
::{{Par2|minchg|int|0}}&lt;br /&gt;
:::Another idea swiped from FLD/VMToon (though in those functions it was called &amp;quot;threshold&amp;quot;).  Any pixels that would have been darkened by less than this amount will instead not be darkened at all.  This can be useful if you have noise that is getting darkened slightly.  0 (the default) will turn off the thresholding, while 255 will result in no darkening at all.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
::{{Par2|showmask|bool|false}}&lt;br /&gt;
:::When true, the function will display the current edge mask plus the chroma from the original image. Use this to find the optimal values of lowthresh and highthresh.&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;
 Hysteria()&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== Changelog ==&lt;br /&gt;
 Version      Date(D/M/Y)      Changes&amp;lt;br&amp;gt;&lt;br /&gt;
              10/19/16         - Remove YV12 limit&lt;br /&gt;
              09/11/10         - Is this thing on?&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==External Links ==&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#Line_Darkening|External Filters]] &amp;amp;larr;'''&lt;/div&gt;</summary>
		<author><name>Reel.Deal</name></author>	</entry>

	</feed>