<?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: TUIO support is Here!</title>
	<atom:link href="http://benbritten.com/2008/07/22/tuio-support-is-here/feed/" rel="self" type="application/rss+xml" />
	<link>http://benbritten.com/2008/07/22/tuio-support-is-here/</link>
	<description>Software should be simple.</description>
	<lastBuildDate>Sun, 18 Dec 2011 05:32:55 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Attack of the Dark Blobs! at benbritten.com</title>
		<link>http://benbritten.com/2008/07/22/tuio-support-is-here/comment-page-1/#comment-73</link>
		<dc:creator>Attack of the Dark Blobs! at benbritten.com</dc:creator>
		<pubDate>Fri, 25 Jul 2008 07:21:02 +0000</pubDate>
		<guid isPermaLink="false">http://benbritten.com/?p=97#comment-73</guid>
		<description>[...] came up with a brilliant on the spot fix, only to find out it wasn&#8217;t so brilliant after [...]</description>
		<content:encoded><![CDATA[<p>[...] came up with a brilliant on the spot fix, only to find out it wasn&#8217;t so brilliant after [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>http://benbritten.com/2008/07/22/tuio-support-is-here/comment-page-1/#comment-70</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Wed, 23 Jul 2008 23:44:25 +0000</pubDate>
		<guid isPermaLink="false">http://benbritten.com/?p=97#comment-70</guid>
		<description>Damn!  I was so happy with myself for figuring that out.. meh thats what i get for trying to write code, in wordpress, early in the morning, before my caffeine... :-)

Anyhow, I should hopefully have the CIIMage stuff all worky by the end of the week. (maybe sooner if I am lucky)

Cheers!
-b</description>
		<content:encoded><![CDATA[<p>Damn!  I was so happy with myself for figuring that out.. meh thats what i get for trying to write code, in wordpress, early in the morning, before my caffeine&#8230; :-)</p>
<p>Anyhow, I should hopefully have the CIIMage stuff all worky by the end of the week. (maybe sooner if I am lucky)</p>
<p>Cheers!<br />
-b</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: thescreamingdrills</title>
		<link>http://benbritten.com/2008/07/22/tuio-support-is-here/comment-page-1/#comment-69</link>
		<dc:creator>thescreamingdrills</dc:creator>
		<pubDate>Wed, 23 Jul 2008 23:41:00 +0000</pubDate>
		<guid isPermaLink="false">http://benbritten.com/?p=97#comment-69</guid>
		<description>It didn&#039;t work for me, but that could very likely be I didn&#039;t change it right. I just checked out another copy of r85, opened up the xcode project, made the changes, saved, and hit build and go.

But if you are fixing this anyway, I can wait. I need to get back to wiring my led&#039;s so I&#039;ll have plenty to do while I wait for the changes. 

Thanks for the help!</description>
		<content:encoded><![CDATA[<p>It didn&#8217;t work for me, but that could very likely be I didn&#8217;t change it right. I just checked out another copy of r85, opened up the xcode project, made the changes, saved, and hit build and go.</p>
<p>But if you are fixing this anyway, I can wait. I need to get back to wiring my led&#8217;s so I&#8217;ll have plenty to do while I wait for the changes. </p>
<p>Thanks for the help!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>http://benbritten.com/2008/07/22/tuio-support-is-here/comment-page-1/#comment-68</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Wed, 23 Jul 2008 22:55:02 +0000</pubDate>
		<guid isPermaLink="false">http://benbritten.com/?p=97#comment-68</guid>
		<description>Hey Screaming drills,

I knew this would happen at some point :-) in fact your blobs do need to be white (at the moment).  Invert is one of the reasons that I am adding CIImage support (although invert is super duper easy to do, right in the blob detector)


I dont think you can invert your camera input :-) so i will need to change the code real quick so that you can invert the way the detector compares the values. (it is probably about a three line change)

I am about a day or two away from the CIImage update as a transport between the camera and the blob detector (making things like inversion REALLY simple) 

if you don&#039;t want to wait (i know I never do :-) you should be able to get it working with a quick code change: (after having a quick refresh on the code)

two changes: both in BBBlobDetector.m

line 314 ish, in the -(BOOL)validBlobPixel:(int)position method
change this line:
if ((srcBytes[position] - bgBytes[position]) &gt; threshold)
to read:
if (abs(srcBytes[position] - bgBytes[position]) &gt; threshold)

line 225ish in the -(void)scanSrcDataWithROI method
change this line:
if ((srcBytes[loopXYDataPosition] - bgBytes[loopXYDataPosition]) &lt;= threshold)
to read:
if (abs(srcBytes[loopXYDataPosition] - bgBytes[loopXYDataPosition]) &lt;= threshold)

I THINK that will work :-) I am not actually at the machine with all my code and tests and stuff, so i cant test it out.  later today I will be able to et back into it, but if you are as impatient as I am when you are so close, this might just hold you over until i get a better (ie CIImage/CIFilter) solution in place :-)

cheers!
-b</description>
		<content:encoded><![CDATA[<p>Hey Screaming drills,</p>
<p>I knew this would happen at some point :-) in fact your blobs do need to be white (at the moment).  Invert is one of the reasons that I am adding CIImage support (although invert is super duper easy to do, right in the blob detector)</p>
<p>I dont think you can invert your camera input :-) so i will need to change the code real quick so that you can invert the way the detector compares the values. (it is probably about a three line change)</p>
<p>I am about a day or two away from the CIImage update as a transport between the camera and the blob detector (making things like inversion REALLY simple) </p>
<p>if you don&#8217;t want to wait (i know I never do :-) you should be able to get it working with a quick code change: (after having a quick refresh on the code)</p>
<p>two changes: both in BBBlobDetector.m</p>
<p>line 314 ish, in the -(BOOL)validBlobPixel:(int)position method<br />
change this line:<br />
if ((srcBytes[position] &#8211; bgBytes[position]) > threshold)<br />
to read:<br />
if (abs(srcBytes[position] &#8211; bgBytes[position]) > threshold)</p>
<p>line 225ish in the -(void)scanSrcDataWithROI method<br />
change this line:<br />
if ((srcBytes[loopXYDataPosition] &#8211; bgBytes[loopXYDataPosition]) <= threshold)<br />
to read:<br />
if (abs(srcBytes[loopXYDataPosition] &#8211; bgBytes[loopXYDataPosition]) <= threshold)</p>
<p>I THINK that will work :-) I am not actually at the machine with all my code and tests and stuff, so i cant test it out.  later today I will be able to et back into it, but if you are as impatient as I am when you are so close, this might just hold you over until i get a better (ie CIImage/CIFilter) solution in place :-)</p>
<p>cheers!<br />
-b</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: thescreamingdrills</title>
		<link>http://benbritten.com/2008/07/22/tuio-support-is-here/comment-page-1/#comment-67</link>
		<dc:creator>thescreamingdrills</dc:creator>
		<pubDate>Wed, 23 Jul 2008 21:57:35 +0000</pubDate>
		<guid isPermaLink="false">http://benbritten.com/?p=97#comment-67</guid>
		<description>Ok, so now everything is working fine, no crashes so far. However, I am having a different problem which is that I can&#039;t get any blobs detected. I suspect this is because of how I am configuring bbtouch and the cam. Here&#039;s a link to what I see:
http://www.flickr.com/photos/27013844@N08/2697073836/ - I&#039;m using an MTMini.

That means my blobs are coming out black, but yours are white, does that matter? I also have brightness set high and contrast set high, which gives me some nice dark blobs.

However, they are not recognized as blobs consistently. I&#039;m not sure how to adjust the blob detection settings because I&#039;m not sure what it&#039;s doing. If I can just get past this step I think I can really help out more, with more testing and documentation.

I know there are a lot of developers working on mac solutions, but for my money bbtouch looks the most promising and I&#039;d really like to help it along anyway I can.</description>
		<content:encoded><![CDATA[<p>Ok, so now everything is working fine, no crashes so far. However, I am having a different problem which is that I can&#8217;t get any blobs detected. I suspect this is because of how I am configuring bbtouch and the cam. Here&#8217;s a link to what I see:<br />
<a href="http://www.flickr.com/photos/27013844@N08/2697073836/" rel="nofollow">http://www.flickr.com/photos/27013844@N08/2697073836/</a> &#8211; I&#8217;m using an MTMini.</p>
<p>That means my blobs are coming out black, but yours are white, does that matter? I also have brightness set high and contrast set high, which gives me some nice dark blobs.</p>
<p>However, they are not recognized as blobs consistently. I&#8217;m not sure how to adjust the blob detection settings because I&#8217;m not sure what it&#8217;s doing. If I can just get past this step I think I can really help out more, with more testing and documentation.</p>
<p>I know there are a lot of developers working on mac solutions, but for my money bbtouch looks the most promising and I&#8217;d really like to help it along anyway I can.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>http://benbritten.com/2008/07/22/tuio-support-is-here/comment-page-1/#comment-64</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Wed, 23 Jul 2008 09:34:05 +0000</pubDate>
		<guid isPermaLink="false">http://benbritten.com/?p=97#comment-64</guid>
		<description>Hey Sandor,

I have the fire-i and the settings i use that work well are: 
Compression type: component video - ccir - 601 uyvy
frames per second: best (which is about 30)

I have also used uncompressed 8 bit as well, didnt seem to make much of a difference in the end.  I dont even know what the compressor is even doing (if anything at all) 

and in the image adjustments i set the brightness and exposure to manual and then adjust those two plus gain to get a nice looking image.

cheers!
-b
</description>
		<content:encoded><![CDATA[<p>Hey Sandor,</p>
<p>I have the fire-i and the settings i use that work well are:<br />
Compression type: component video &#8211; ccir &#8211; 601 uyvy<br />
frames per second: best (which is about 30)</p>
<p>I have also used uncompressed 8 bit as well, didnt seem to make much of a difference in the end.  I dont even know what the compressor is even doing (if anything at all) </p>
<p>and in the image adjustments i set the brightness and exposure to manual and then adjust those two plus gain to get a nice looking image.</p>
<p>cheers!<br />
-b</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sandor</title>
		<link>http://benbritten.com/2008/07/22/tuio-support-is-here/comment-page-1/#comment-63</link>
		<dc:creator>sandor</dc:creator>
		<pubDate>Wed, 23 Jul 2008 09:21:40 +0000</pubDate>
		<guid isPermaLink="false">http://benbritten.com/?p=97#comment-63</guid>
		<description>Hey Ben,

yepp - you are right with the preferences. deleting the pref file lets you access the camera settings... The Fire-I make a bit of trouble tough... There are very little video setting you can pass thru BBTouch. Uncompressed video does not working. 60fps also not. B/W not etc... I am getting also the stylish pop-art videos in some setting you mentioned in your post :-) I guess that is the video-grabber as you are saying. BUT (and a BIG BUT): the blob detection works NICELY! I could test that only with a remote control (our table is not finished yet), but i recognises the blobs well and you can pass the TUIO stuff nicely to the Flash demos ;-)

About QC: sorry! Stuped me! I even did not realise that the QC-TUIO-Patch only allows fiducials. And you are right - it is a good option to have the blob recognition and tracking also in QC. I had some ideas, but i need some time to line them out... Will post the ideas sometimes later to you (you know allways the boring clients with they payed jobs - LOL). But i stubled over some efforts going that way. Take a look at http://kineme.net/ and do a search for TUIO and OSC - those guys are also working in feature recognition inside QC...

Keep it up you Kung-Fu-Panda!! :-)

Sandor</description>
		<content:encoded><![CDATA[<p>Hey Ben,</p>
<p>yepp &#8211; you are right with the preferences. deleting the pref file lets you access the camera settings&#8230; The Fire-I make a bit of trouble tough&#8230; There are very little video setting you can pass thru BBTouch. Uncompressed video does not working. 60fps also not. B/W not etc&#8230; I am getting also the stylish pop-art videos in some setting you mentioned in your post :-) I guess that is the video-grabber as you are saying. BUT (and a BIG BUT): the blob detection works NICELY! I could test that only with a remote control (our table is not finished yet), but i recognises the blobs well and you can pass the TUIO stuff nicely to the Flash demos ;-)</p>
<p>About QC: sorry! Stuped me! I even did not realise that the QC-TUIO-Patch only allows fiducials. And you are right &#8211; it is a good option to have the blob recognition and tracking also in QC. I had some ideas, but i need some time to line them out&#8230; Will post the ideas sometimes later to you (you know allways the boring clients with they payed jobs &#8211; LOL). But i stubled over some efforts going that way. Take a look at <a href="http://kineme.net/" rel="nofollow">http://kineme.net/</a> and do a search for TUIO and OSC &#8211; those guys are also working in feature recognition inside QC&#8230;</p>
<p>Keep it up you Kung-Fu-Panda!! :-)</p>
<p>Sandor</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>http://benbritten.com/2008/07/22/tuio-support-is-here/comment-page-1/#comment-62</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Tue, 22 Jul 2008 22:45:20 +0000</pubDate>
		<guid isPermaLink="false">http://benbritten.com/?p=97#comment-62</guid>
		<description>Sandor,
to answer your question about QC, you are absolutely correct, that with BBTouch sending TUIO events to the TUIO QC patch, there is no need for a Blob Detector QC Patch.  I just think it would be neat is all :-)

Cheers!
-b</description>
		<content:encoded><![CDATA[<p>Sandor,<br />
to answer your question about QC, you are absolutely correct, that with BBTouch sending TUIO events to the TUIO QC patch, there is no need for a Blob Detector QC Patch.  I just think it would be neat is all :-)</p>
<p>Cheers!<br />
-b</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>http://benbritten.com/2008/07/22/tuio-support-is-here/comment-page-1/#comment-61</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Tue, 22 Jul 2008 22:42:28 +0000</pubDate>
		<guid isPermaLink="false">http://benbritten.com/?p=97#comment-61</guid>
		<description>Hey guys!

errors are good! (i mean, ther arent good, but finding them is good, so don&#039;t feel bad about posting errors :-)

There is definitely something a bit flakey about the way I am storing and retrieving the camera settings.  I am trying to figure out the issue.  One temporary solution that I have had is to find the BBtouch preferences file (com.bb.bbtouch.plist i think it is called) and trash it (while the app is not running) then re-open the app and see how that goes.  

I had some issues with the same kind of thing (not crashing, but strange errors with the sequence grabber showing either no video, or a strange squished and tiled version of the video) Especially across versions of BBTouch. So, trash your prefs and let me know how it goes, and I will get stuck into the byzantine sequence grabber code and see if i can sort out the source of the problem.

But, to reference what I said earlier: bring on the bugs! I cant fix them if you guys dont tell me about them, so don&#039;t be shy. Also, the crash reports (like screamingdrills posted above) are very helpful. 

Cheers!
-b</description>
		<content:encoded><![CDATA[<p>Hey guys!</p>
<p>errors are good! (i mean, ther arent good, but finding them is good, so don&#8217;t feel bad about posting errors :-)</p>
<p>There is definitely something a bit flakey about the way I am storing and retrieving the camera settings.  I am trying to figure out the issue.  One temporary solution that I have had is to find the BBtouch preferences file (com.bb.bbtouch.plist i think it is called) and trash it (while the app is not running) then re-open the app and see how that goes.  </p>
<p>I had some issues with the same kind of thing (not crashing, but strange errors with the sequence grabber showing either no video, or a strange squished and tiled version of the video) Especially across versions of BBTouch. So, trash your prefs and let me know how it goes, and I will get stuck into the byzantine sequence grabber code and see if i can sort out the source of the problem.</p>
<p>But, to reference what I said earlier: bring on the bugs! I cant fix them if you guys dont tell me about them, so don&#8217;t be shy. Also, the crash reports (like screamingdrills posted above) are very helpful. </p>
<p>Cheers!<br />
-b</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: thescreamingdrills</title>
		<link>http://benbritten.com/2008/07/22/tuio-support-is-here/comment-page-1/#comment-60</link>
		<dc:creator>thescreamingdrills</dc:creator>
		<pubDate>Tue, 22 Jul 2008 19:50:17 +0000</pubDate>
		<guid isPermaLink="false">http://benbritten.com/?p=97#comment-60</guid>
		<description>whoops, sorry to bombard you with the one error I found in the program, otherwise this thing is beautiful! I&#039;m going to continue playing with it and see how it goes. Great work, I was very pleasantly surprised when I saw it up this morning. Is there anything more I can do to help? I don&#039;t really know much about programming, but I bet there&#039;s something I could do if you&#039;d like any help.</description>
		<content:encoded><![CDATA[<p>whoops, sorry to bombard you with the one error I found in the program, otherwise this thing is beautiful! I&#8217;m going to continue playing with it and see how it goes. Great work, I was very pleasantly surprised when I saw it up this morning. Is there anything more I can do to help? I don&#8217;t really know much about programming, but I bet there&#8217;s something I could do if you&#8217;d like any help.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

