<?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=Scharr</id>
		<title>Scharr - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://avisynth.nl/index.php?action=history&amp;feed=atom&amp;title=Scharr"/>
		<link rel="alternate" type="text/html" href="http://avisynth.nl/index.php?title=Scharr&amp;action=history"/>
		<updated>2026-04-21T22:49:30Z</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=Scharr&amp;diff=10861&amp;oldid=prev</id>
		<title>Reel.Deal: Scharr</title>
		<link rel="alternate" type="text/html" href="http://avisynth.nl/index.php?title=Scharr&amp;diff=10861&amp;oldid=prev"/>
				<updated>2020-02-27T14:47:54Z</updated>
		
		<summary type="html">&lt;p&gt;Scharr&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{FilterCat4|External_filters|Plugins|Other_filters|Edge_detection}}&lt;br /&gt;
{{Filter3&lt;br /&gt;
| zorr&lt;br /&gt;
|2019-01-19 &lt;br /&gt;
|Script&lt;br /&gt;
| Edge Detection &lt;br /&gt;
| &lt;br /&gt;
|6=[https://forum.doom9.org/showthread.php?p=1863275#post1863275 Doom9 Thread]}}&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
Edge detection using the [https://en.wikipedia.org/wiki/Sobel_operator#Alternative_operators Scharr operator].&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
* [http://sourceforge.net/projects/avisynth2/ AviSynth 2.6.0] [32-bit]&lt;br /&gt;
* [[AviSynth+]] [32-bit or 64-bit]&lt;br /&gt;
* Supported color formats: [[Y8]], [[YV12]], [[YV16]], [[YV24]], [[YV411]]&lt;br /&gt;
&lt;br /&gt;
=== Required Plugins ===&lt;br /&gt;
*[[MaskTools2]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== [[Script variables|Syntax and Parameters]] ==&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
:{{Template:FuncDef|scharr (clip c)}}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
::{{Par2| |clip| }}&lt;br /&gt;
:::Input clip; only planar formats are supported. Chroma channels are not processed.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Script ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function scharr(clip c) {&lt;br /&gt;
	scharr_x = c.mt_edge(&amp;quot;3 0 -3 10 0 -10 3 0 -3&amp;quot;, thY1 = 0, thY2 = 255, y=3, u=1, v=1)&lt;br /&gt;
	scharr_y = c.mt_edge(&amp;quot;3 10 3 0 0 0 -3 -10 -3&amp;quot;, thY1 = 0, thY2 = 255, y=3, u=1, v=1)&lt;br /&gt;
	scharr = mt_lutxy(scharr_x, scharr_y, yexpr=mt_polish(&amp;quot;((x*x)+(y*y))^0.5&amp;quot;), u=1, v=1)&lt;br /&gt;
	return scharr&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== Examples == &lt;br /&gt;
scharr:&lt;br /&gt;
 [[AviSource]](&amp;quot;blah.avi&amp;quot;)&lt;br /&gt;
 scharr ()&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== Changelog ==&lt;br /&gt;
 Version      Date            Changes&amp;lt;br&amp;gt;  &lt;br /&gt;
              01/19/2019      - Initial release&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#Edge_Detection|External Filters]] &amp;amp;larr;'''&lt;/div&gt;</summary>
		<author><name>Reel.Deal</name></author>	</entry>

	</feed>