<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: FLARtoolkit trick: use a colored marker</title>
	<atom:link href="http://blog.onthewings.net/2009/05/23/flartoolkit-trick-use-a-colored-marker/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.onthewings.net/2009/05/23/flartoolkit-trick-use-a-colored-marker/</link>
	<description>Blog on Flash/Flex, web development, design, media art, and my personal life.</description>
	<lastBuildDate>Sun, 28 Feb 2010 18:55:55 +0800</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Playing with chroma key and thresholding in Flash (with Pixel Bender) &#124; Andy Li&#39;s Blog</title>
		<link>http://blog.onthewings.net/2009/05/23/flartoolkit-trick-use-a-colored-marker/comment-page-1/#comment-181</link>
		<dc:creator>Playing with chroma key and thresholding in Flash (with Pixel Bender) &#124; Andy Li&#39;s Blog</dc:creator>
		<pubDate>Thu, 10 Dec 2009 10:18:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.onthewings.net/?p=387#comment-181</guid>
		<description>[...] While traveling with my gf in Europe, I&#8217;m planning to develop a better technique to use color marker in FLARtoolkit (which I&#8217;ve tried before). [...]</description>
		<content:encoded><![CDATA[<p>[...] While traveling with my gf in Europe, I&#8217;m planning to develop a better technique to use color marker in FLARtoolkit (which I&#8217;ve tried before). [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kaka</title>
		<link>http://blog.onthewings.net/2009/05/23/flartoolkit-trick-use-a-colored-marker/comment-page-1/#comment-173</link>
		<dc:creator>kaka</dc:creator>
		<pubDate>Mon, 23 Nov 2009 20:22:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.onthewings.net/?p=387#comment-173</guid>
		<description>thanx Andy</description>
		<content:encoded><![CDATA[<p>thanx Andy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy</title>
		<link>http://blog.onthewings.net/2009/05/23/flartoolkit-trick-use-a-colored-marker/comment-page-1/#comment-171</link>
		<dc:creator>Andy</dc:creator>
		<pubDate>Sat, 21 Nov 2009 14:24:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.onthewings.net/?p=387#comment-171</guid>
		<description>@kaka No, FLARtoolkit only works with square markers. You may put the picture inside the marker, but the picture cannot be too complex. Try the Marker Generator at http://flash.tarotaro.org/blog/2008/12/14/artoolkit-marker-generator-online-released/</description>
		<content:encoded><![CDATA[<p>@kaka No, FLARtoolkit only works with square markers. You may put the picture inside the marker, but the picture cannot be too complex. Try the Marker Generator at <a href="http://flash.tarotaro.org/blog/2008/12/14/artoolkit-marker-generator-online-released/" rel="nofollow">http://flash.tarotaro.org/blog/2008/12/14/artoolkit-marker-generator-online-released/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kaka</title>
		<link>http://blog.onthewings.net/2009/05/23/flartoolkit-trick-use-a-colored-marker/comment-page-1/#comment-170</link>
		<dc:creator>kaka</dc:creator>
		<pubDate>Fri, 20 Nov 2009 18:50:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.onthewings.net/?p=387#comment-170</guid>
		<description>Hi Andy,
thanx for this great work,
I&#039;ve to do a school work based on Flartoolkit and I&#039;m facing some difficulties.
Can Flartoolkit can recognize a circle or a specific picture in red color?
Thanx in advance
kaka</description>
		<content:encoded><![CDATA[<p>Hi Andy,<br />
thanx for this great work,<br />
I&#8217;ve to do a school work based on Flartoolkit and I&#8217;m facing some difficulties.<br />
Can Flartoolkit can recognize a circle or a specific picture in red color?<br />
Thanx in advance<br />
kaka</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy</title>
		<link>http://blog.onthewings.net/2009/05/23/flartoolkit-trick-use-a-colored-marker/comment-page-1/#comment-169</link>
		<dc:creator>Andy</dc:creator>
		<pubDate>Fri, 13 Nov 2009 17:57:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.onthewings.net/?p=387#comment-169</guid>
		<description>@Vamoss

For the file location, just unzip the whole thing and put it under the source folder.

It&#039;s a bit hard to detect yellow marker since it is not one of the color channel. The get it done, you only need to change the pbk, recompile it into pbj. Sure, you can rename everything red to yellow.
The change in pbk, it can be from &quot;float val = p.r - (p.g + p.b)*0.5;&quot; to &quot;float val = (p.r + p.g)*0.5 - p.b;&quot;. What this line of code do is letting val be 1 if the color is matched, less if it is not. FYI, red is #FF0000 and yellow is #FFFF00.
I have not tested the yellow code, and it is not that accurate I can say. Feel free to make some change to improve it.

Actually I have tried to write a class for detecting marker with any color, but I have been busying these week and it has been put aside. I think I can finish it in a week but I don&#039;t know can you wait that long :P</description>
		<content:encoded><![CDATA[<p>@Vamoss</p>
<p>For the file location, just unzip the whole thing and put it under the source folder.</p>
<p>It&#8217;s a bit hard to detect yellow marker since it is not one of the color channel. The get it done, you only need to change the pbk, recompile it into pbj. Sure, you can rename everything red to yellow.<br />
The change in pbk, it can be from &#8220;float val = p.r &#8211; (p.g + p.b)*0.5;&#8221; to &#8220;float val = (p.r + p.g)*0.5 &#8211; p.b;&#8221;. What this line of code do is letting val be 1 if the color is matched, less if it is not. FYI, red is #FF0000 and yellow is #FFFF00.<br />
I have not tested the yellow code, and it is not that accurate I can say. Feel free to make some change to improve it.</p>
<p>Actually I have tried to write a class for detecting marker with any color, but I have been busying these week and it has been put aside. I think I can finish it in a week but I don&#8217;t know can you wait that long <img src='http://blog.onthewings.net/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vamoss</title>
		<link>http://blog.onthewings.net/2009/05/23/flartoolkit-trick-use-a-colored-marker/comment-page-1/#comment-168</link>
		<dc:creator>Vamoss</dc:creator>
		<pubDate>Thu, 12 Nov 2009 18:47:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.onthewings.net/?p=387#comment-168</guid>
		<description>Hi Andy,

I readed you text about the red market.
I dont know nothing about PixelBender, e a few things about Flartoolkit.

Could you help me in a addaption of your code?
In your text, is not clear to me where I import your class &quot;FLARSingleRedMarkerDetector.as&quot;, in the Main.as?
And how can I create a Yellow Marker?

So much thanks for your time!
@Vamoss

---------------------------------------------------------------

I runned the FLARSingleRedMarkerDetector.as with my Black Marker normally.
How can I run my Yellow Marker version, I have to generate it before? Where?
And how can I addapt your Red class to detect Yellow colors?

Thanks Andy!!
@Vamoss</description>
		<content:encoded><![CDATA[<p>Hi Andy,</p>
<p>I readed you text about the red market.<br />
I dont know nothing about PixelBender, e a few things about Flartoolkit.</p>
<p>Could you help me in a addaption of your code?<br />
In your text, is not clear to me where I import your class &#8220;FLARSingleRedMarkerDetector.as&#8221;, in the Main.as?<br />
And how can I create a Yellow Marker?</p>
<p>So much thanks for your time!<br />
@Vamoss</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>I runned the FLARSingleRedMarkerDetector.as with my Black Marker normally.<br />
How can I run my Yellow Marker version, I have to generate it before? Where?<br />
And how can I addapt your Red class to detect Yellow colors?</p>
<p>Thanks Andy!!<br />
@Vamoss</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy</title>
		<link>http://blog.onthewings.net/2009/05/23/flartoolkit-trick-use-a-colored-marker/comment-page-1/#comment-151</link>
		<dc:creator>Andy</dc:creator>
		<pubDate>Fri, 02 Oct 2009 08:44:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.onthewings.net/?p=387#comment-151</guid>
		<description>@makc 

Yup, you&#039;re right. I just pushed a little bit on the flexibility and it&#039;s still pretty limited at this point. I think more complicated and colorful markers can be done but the FLARtoolkit is still in rapid development, like what you&#039;ve told me, that now we can set custom filter which is not possible at the time I write the post.
Anyway, I will update the codes soon. Thanks for the info :)

I&#039;ve just swapped the captcha plug-in and reported the bug to the author. Hope that will be fixed soon :P</description>
		<content:encoded><![CDATA[<p>@makc </p>
<p>Yup, you&#8217;re right. I just pushed a little bit on the flexibility and it&#8217;s still pretty limited at this point. I think more complicated and colorful markers can be done but the FLARtoolkit is still in rapid development, like what you&#8217;ve told me, that now we can set custom filter which is not possible at the time I write the post.<br />
Anyway, I will update the codes soon. Thanks for the info <img src='http://blog.onthewings.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I&#8217;ve just swapped the captcha plug-in and reported the bug to the author. Hope that will be fixed soon <img src='http://blog.onthewings.net/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: makc</title>
		<link>http://blog.onthewings.net/2009/05/23/flartoolkit-trick-use-a-colored-marker/comment-page-1/#comment-150</link>
		<dc:creator>makc</dc:creator>
		<pubDate>Thu, 01 Oct 2009 16:58:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.onthewings.net/?p=387#comment-150</guid>
		<description>just three points:

1 usually when people think of &quot;color support&quot; in flart, they mean marker made of different colors, or markers that differ from each other by color combinations. this is not totally covered by swapping the filter.

2 using svn version you can swap filters without changing flart code.

3 your flickr humanizer displays unavailable images :(</description>
		<content:encoded><![CDATA[<p>just three points:</p>
<p>1 usually when people think of &#8220;color support&#8221; in flart, they mean marker made of different colors, or markers that differ from each other by color combinations. this is not totally covered by swapping the filter.</p>
<p>2 using svn version you can swap filters without changing flart code.</p>
<p>3 your flickr humanizer displays unavailable images <img src='http://blog.onthewings.net/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pier</title>
		<link>http://blog.onthewings.net/2009/05/23/flartoolkit-trick-use-a-colored-marker/comment-page-1/#comment-147</link>
		<dc:creator>Pier</dc:creator>
		<pubDate>Fri, 24 Jul 2009 00:11:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.onthewings.net/?p=387#comment-147</guid>
		<description>You&#039;re so right...</description>
		<content:encoded><![CDATA[<p>You&#8217;re so right&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy</title>
		<link>http://blog.onthewings.net/2009/05/23/flartoolkit-trick-use-a-colored-marker/comment-page-1/#comment-146</link>
		<dc:creator>Andy</dc:creator>
		<pubDate>Thu, 23 Jul 2009 07:58:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.onthewings.net/?p=387#comment-146</guid>
		<description>White in red channel surely can be red(#FF0000), but it can be yellow(#FFFF00), magenta(#FF00FF) or even white(#FFFFFF)!
In that case, the filtered area will be much larger, meaning the save in processing 8bit instead of 24bit wouldn&#039;t result in net performance gain.</description>
		<content:encoded><![CDATA[<p>White in red channel surely can be red(#FF0000), but it can be yellow(#FFFF00), magenta(#FF00FF) or even white(#FFFFFF)!<br />
In that case, the filtered area will be much larger, meaning the save in processing 8bit instead of 24bit wouldn&#8217;t result in net performance gain.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
