<?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>JActionScripters &#187; Saqoosha</title>
	<atom:link href="http://blog.jactionscripters.com/author/saqoosha/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.jactionscripters.com</link>
	<description>More than 20 Japanese flash coders share the blog/ You will be junkie for this crazy Japanese Flash news</description>
	<lastBuildDate>Sat, 08 Oct 2011 16:55:34 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Adaptive thresholding experiment</title>
		<link>http://blog.jactionscripters.com/2009/05/18/adaptive-thresholding-experiment/</link>
		<comments>http://blog.jactionscripters.com/2009/05/18/adaptive-thresholding-experiment/#comments</comments>
		<pubDate>Mon, 18 May 2009 00:09:23 +0000</pubDate>
		<dc:creator>Saqoosha</dc:creator>
				<category><![CDATA[Experiment]]></category>

		<guid isPermaLink="false">http://blog.jactionscripters.com/?p=351</guid>
		<description><![CDATA[Hello, World!
My name is Tomohiko Koyama aka Saqoosha. I think everyone knows me as a developer of FLARToolKit. I joined JActionScripters.com too, and I hope that Japanese Flashers are exposed to the world more and more. My English is not so good. If you find a mistake, please correct me.
Recently, I researched about Thresholding algorithms. [...]]]></description>
			<content:encoded><![CDATA[<p>Hello, World!</p>
<p>My name is Tomohiko Koyama aka <a href="http://saqoosha.net/en/">Saqoosha</a>. I think everyone knows me as a developer of <a href="http://www.libspark.org/wiki/saqoosha/FLARToolKit/en">FLARToolKit</a>. I joined JActionScripters.com too, and I hope that Japanese Flashers are exposed to the world more and more. My English is not so good. If you find a mistake, please correct me.</p>
<p>Recently, I researched about <a href="http://en.wikipedia.org/wiki/Thresholding_(image_processing)">Thresholding</a> algorithms. Thresholding algorithms are used to binarize and preprocess the input to find some objects within the image. FLARToolKit uses a thresholding algorithm to detect the marker.</p>
<p>The algorithm currently using in FLARToolKit is Global Thresholding.</p>
<p><img src="http://blog.jactionscripters.com/wp-content/uploads/2009/05/saq-global-thresholding.png" border="0" alt="Saq-Global-Thresholding" hspace="0" vspace="0" width="640" height="240" /></p>
<p>Its implementation is simple and faster, but no flexibility about illumination variation. I looked for a thresholding algorithm to improve this weak point. Then found <a href="http://homepages.inf.ed.ac.uk/rbf/HIPR2/adpthrsh.htm">Adaptive Thresholding</a>.</p>
<p><span id="more-351"></span>Adaptive thresholding doesn&#8217;t use constant thresholding values as with Global thresholding. Thresholding value is calculated for each pixel using surrounding pixels. It&#8217;s result is amazingly adaptive to various illumination. Please watch this video.</p>
<p><object width="640" height="480" data="http://vimeo.com/moogaloop.swf?clip_id=4697603&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=ffff00&amp;fullscreen=1" type="application/x-shockwave-flash"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=4697603&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=ffff00&amp;fullscreen=1" /></object></p>
<p>Upper is the source video. Left is global thresholding, and right is adaptive thresholding. The marker (square at the center) is always visible in adaptive thresholding result. It&#8217;s using BlurFilter to calculate local thresholding value. <a href="http://jactionscripters.com/files/Saqoosha/adaptive-thresholding/srcview/">Source code is here</a>. <a href="http://jactionscripters.com/files/Saqoosha/adaptive-thresholding/">Online demo</a> (requires webcam) is also uploaded. Use up and down arrow keys to simulate illumination variation.</p>
<p><a href="http://makc3d.wordpress.com/2009/05/05/flartoolkit-adaptive-filter-experiment-sources/">Makc3d already implemented</a> this method into FLARToolKit, but I think it&#8217;s required more optimization to reduce calculation time.</p>
<p>The future version of FLARToolKit will include Adaptive thresholding filter to adapt to various illumination.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.jactionscripters.com/2009/05/18/adaptive-thresholding-experiment/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

