<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Real-Time Rendering &#187; morphological</title>
	<atom:link href="http://www.realtimerendering.com/blog/tag/morphological/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.realtimerendering.com/blog</link>
	<description>Tracking the latest developments in interactive rendering techniques</description>
	<lastBuildDate>Sun, 12 May 2013 00:21:14 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.1</generator>
		<item>
		<title>Morphological Antialiasing</title>
		<link>http://www.realtimerendering.com/blog/morphological-antialiasing/</link>
		<comments>http://www.realtimerendering.com/blog/morphological-antialiasing/#comments</comments>
		<pubDate>Tue, 28 Jul 2009 02:20:16 +0000</pubDate>
		<dc:creator>Eric</dc:creator>
				<category><![CDATA[Resources]]></category>
		<category><![CDATA[antialiasing]]></category>
		<category><![CDATA[HPG 2009]]></category>
		<category><![CDATA[Intel]]></category>
		<category><![CDATA[MLAA]]></category>
		<category><![CDATA[morphological]]></category>

		<guid isPermaLink="false">http://www.realtimerendering.com/blog/?p=130</guid>
		<description><![CDATA[An Intel research group has put their papers and code up for download. I had asked Alexander Reshetov about his morphological antialiasing scheme (MLAA), as it sounded interesting &#8211; it was! He generously sent a preprint, answered my many questions, and even provided source code for a demo of the method. What I find most [...]]]></description>
			<content:encoded><![CDATA[<p>An Intel research group has put <a href="http://visual-computing.intel-research.net/publications/publications.htm#Y2009">their papers and code</a> up for download. I had asked Alexander Reshetov about his <a href="http://visual-computing.intel-research.net/publications/papers/2009/mlaa/mlaa.pdf">morphological antialiasing</a> scheme (MLAA), as it sounded interesting &#8211; it was! He generously sent a preprint, answered my many questions, and even provided source code for a demo of the method. What I find most interesting about the algorithm is that it is entirely a post-process. Given an image full of jagged edges, it searches for such edges and blends these accordingly. There are limits to such reconstruction, of course, but the idea is fascinating and most of the time the resulting image looks much better. Anyway, read the paper.</p>
<p>As an example, I took <span style="text-decoration: underline;"><span style="color: #800080;"><a href="http://realtimerendering.com/blog/wp-content/uploads/2009/07/girl-silhouette-2.jpg">a public domain image</a></span></span> from the web, converted it to a bitonal image so it would be jaggy, then applied MLAA to see how the reconstruction looked. The method works on full color images (though has to deal with more challenges when detecting edges). I&#8217;m showing a black and white version so that the effect is obvious. So, here&#8217;s a zoom in of the jaggy version:</p>
<p><img src="http://www.realtimerendering.com/blog/wp-content/uploads/2009/07/girlzoom_noaa.png" alt="zoomed, no antialiasing (B&amp;W)" width="317" height="367" /></p>
<p>And here are the two smoothed versions:</p>
<p><img src="http://www.realtimerendering.com/blog/wp-content/uploads/2009/07/girlzoom_orig.png" alt="zoomed, original" width="317" height="367" /> <img src="http://www.realtimerendering.com/blog/wp-content/uploads/2009/07/girlzoom_mlaa.png" alt="zoomed, MLAA" width="317" height="367" /></p>
<p>Which is which? It&#8217;s actually pretty easy to figure: the original, on the left, has some JPEG artifacts around the edges; the MLAA version, to the right, doesn&#8217;t, since it was derived from the &#8220;clean&#8221; bitonal image. All in all, they both look good.</p>
<p>Here&#8217;s the original image, unzoomed:</p>
<p><img src="http://www.realtimerendering.com/blog/wp-content/uploads/2009/07/girl_orig.png" alt="original" width="496" height="736" /></p>
<p>The MLAA version:</p>
<p><img src="http://www.realtimerendering.com/blog/wp-content/uploads/2009/07/girl_mlaa.png" alt="MLAA" width="496" height="736" /></p>
<p>For comparison, here&#8217;s a 3&#215;3 Gaussian blur of the jaggy image; blurring helps smooth edges (at a loss of overall crispness), but does not get rid of jaggies. Note the horizontal vines in particular show poor quality:</p>
<p><img src="http://www.realtimerendering.com/blog/wp-content/uploads/2009/07/girl_blur.png" alt="3x3 Gaussian blur" width="496" height="736" /></p>
<p>Here&#8217;s the jaggy version derived from the original, before applying MLAA or the blur:</p>
<p><img src="http://www.realtimerendering.com/blog/wp-content/uploads/2009/07/girl_noaa.png" alt="jaggy B&amp;W version" width="496" height="736" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.realtimerendering.com/blog/morphological-antialiasing/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
	</channel>
</rss>