<?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>MarcPelland.com &#187; picker</title>
	<atom:link href="http://www.marcpelland.com/tag/picker/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.marcpelland.com</link>
	<description>blog and portfolio</description>
	<lastBuildDate>Sun, 17 Jul 2011 22:42:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Playing with Color Picker and Threshold</title>
		<link>http://www.marcpelland.com/2008/05/08/playing-with-color-picker-and-threshold/</link>
		<comments>http://www.marcpelland.com/2008/05/08/playing-with-color-picker-and-threshold/#comments</comments>
		<pubDate>Thu, 08 May 2008 19:38:32 +0000</pubDate>
		<dc:creator>MarcPelland</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[Experiments]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[color]]></category>
		<category><![CDATA[experiment]]></category>
		<category><![CDATA[picker]]></category>
		<category><![CDATA[threshold]]></category>

		<guid isPermaLink="false">http://www.marcpelland.com/2008/05/08/playing-with-color-picker-and-threshold/</guid>
		<description><![CDATA[In light of the fact that I know my motion tracking needs a lot of work, I decided to start trying different methods for getting and working with information from my webcam. Last night (and a little over lunch today) I threw a couple quick experiments together to see what it would look like, and [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.marcpelland.com/wp-content/uploads/2008/05/color_picker_example.jpg" alt="Color Picker Experiment Example" style="padding-right: 10px" align="left" />In light of the fact that I know my motion tracking needs a lot of work, I decided to start trying different methods for getting and working with information from my webcam.</p>
<p>Last night (and a little over lunch today) I threw a couple quick experiments together to see what it would look like, and I think that I might try this out with the video when I got home tonight.</p>
<p><a href="http://www.marcpelland.com/wp-content/uploads/2008/05/colorpicker.swf" title="Color Picker Experiment" target="_blank">The first example</a> comes in the form of a basic color picker that lets you select the color of a pixel from within the image (on the top left).  Once you have selected a color, use the slider on the right to control the threshold.</p>
<p><a href="http://www.marcpelland.com/wp-content/uploads/2008/05/colorpickerbox.swf" title="Color Picker Box Experiment" target="_blank">The second example</a> is very similar to the first, it just uses a different sampling method for the color that it is going to use with the threshold.   To try this tool, draw a box (from top left to bottom right) over the region of the image where you would like to get your sampling from.</p>
<p>This was a very quick and dirty experiment to see what I could get out of a bitmap with some basic functions, so please forgive my <a href="http://www.marcpelland.com/wp-content/uploads/2008/05/colorpicker.zip" title="Color Picker Experiment Source">source</a>. I will post more once I get it cleaned up tonight and start trying to work it into my motion detection application.</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a title="Click me to see the sites." href="#" onclick="$$('div.d41').each( function(e) { e.visualEffect('slide_down',{duration:2.5}) }); return false;"><strong><em>Bookmark It</em></strong></a>
<br />
<div class="d41" style="overflow:hidden">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.bloglines.com/sub/http%3A%2F%2Fwww.marcpelland.com%2F2008%2F05%2F08%2Fplaying-with-color-picker-and-threshold%2F" rel="nofollow" title="Add to&nbsp;Bloglines"><img class="social_img" src="http://www.marcpelland.com/wp-content/plugins/social-bookmarks/images/bloglines.png" title="Add to&nbsp;Bloglines" alt="Add to&nbsp;Bloglines" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http%3A%2F%2Fwww.marcpelland.com%2F2008%2F05%2F08%2Fplaying-with-color-picker-and-threshold%2F&amp;title=Playing+with+Color+Picker+and+Threshold" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://www.marcpelland.com/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.marcpelland.com%2F2008%2F05%2F08%2Fplaying-with-color-picker-and-threshold%2F&amp;title=Playing+with+Color+Picker+and+Threshold" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://www.marcpelland.com/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fwww.marcpelland.com%2F2008%2F05%2F08%2Fplaying-with-color-picker-and-threshold%2F" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://www.marcpelland.com/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://fleck.com/litebookmarklet.php?url=http%3A%2F%2Fwww.marcpelland.com%2F2008%2F05%2F08%2Fplaying-with-color-picker-and-threshold%2F&amp;title=Playing+with+Color+Picker+and+Threshold" rel="nofollow" title="Add to&nbsp;Fleck"><img class="social_img" src="http://www.marcpelland.com/wp-content/plugins/social-bookmarks/images/fleck.png" title="Add to&nbsp;Fleck" alt="Add to&nbsp;Fleck" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fwww.marcpelland.com%2F2008%2F05%2F08%2Fplaying-with-color-picker-and-threshold%2F&amp;title=Playing+with+Color+Picker+and+Threshold" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://www.marcpelland.com/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.kaboodle.com/za/selectpage?p_pop=false&amp;pa=url&amp;u=http%3A%2F%2Fwww.marcpelland.com%2F2008%2F05%2F08%2Fplaying-with-color-picker-and-threshold%2F" rel="nofollow" title="Add to&nbsp;Kaboodle"><img class="social_img" src="http://www.marcpelland.com/wp-content/plugins/social-bookmarks/images/kaboodle.png" title="Add to&nbsp;Kaboodle" alt="Add to&nbsp;Kaboodle" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fwww.marcpelland.com%2F2008%2F05%2F08%2Fplaying-with-color-picker-and-threshold%2F&amp;title=Playing+with+Color+Picker+and+Threshold" rel="nofollow" title="Add to&nbsp;Slashdot"><img class="social_img" src="http://www.marcpelland.com/wp-content/plugins/social-bookmarks/images/slashdot.png" title="Add to&nbsp;Slashdot" alt="Add to&nbsp;Slashdot" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.marcpelland.com%2F2008%2F05%2F08%2Fplaying-with-color-picker-and-threshold%2F&amp;title=Playing+with+Color+Picker+and+Threshold" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://www.marcpelland.com/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http%3A%2F%2Fwww.marcpelland.com%2F2008%2F05%2F08%2Fplaying-with-color-picker-and-threshold%2F" rel="nofollow" title="Add to&nbsp;Technorati"><img class="social_img" src="http://www.marcpelland.com/wp-content/plugins/social-bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fwww.marcpelland.com%2F2008%2F05%2F08%2Fplaying-with-color-picker-and-threshold%2F&amp;t=Playing+with+Color+Picker+and+Threshold" rel="nofollow" title="Add to&nbsp;Yahoo My Web"><img class="social_img" src="http://www.marcpelland.com/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Add to&nbsp;Yahoo My Web" alt="Add to&nbsp;Yahoo My Web" /></a>
<br />
<a style="font-size:90%;text-align: right; " title="Click me to hide the sites." href="#" onclick="$$('div.d41').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); return false;">Hide Sites</a>
</div>
</div>
<!-- Social Bookmarks END -->
<script type="text/javascript">$$('div.d41').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); </script>]]></content:encoded>
			<wfw:commentRss>http://www.marcpelland.com/2008/05/08/playing-with-color-picker-and-threshold/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

