Any known solutions for Image Differencing in Actionscript?

I'm working with a few programming buddies to create an AS interface to the kinect and one problem we're running into is image differencing. We need to be able to throw out image data that doesn't change from image to image so we can pin-point only things that are moving(i.e. people).

Anyone have any experience with this or a direction we can go?

Answers


I would consider creating a pixel bender shader to find the difference and also do any other math or tracking. Pixel bender gets its own thread outside of the normal flash player so you can get some more horse power for your setup. Pixel Bender shaders can be applied to bitmaps, vectors, or video so I think it is perfect for this project. Good Luck!

http://www.adobe.com/devnet/flash/articles/pixel_bender_basics.html

And is is a full collection of shaders including difference


Take a look at the threshold method on BitmapData. It'll allow you to do this stuff. Their docs have a simple example so check that out.


Need Your Help

How to optimize indexes for a busy table?

sql sql-server sql-server-2008

i have this table of comments (little over 1 milion rows) that gets around 10.000 inserts and around 100.000 queries against it every day, and minor deletions and updates. the query that gets the

disable click event handler for a duration of time

javascript jquery bind settimeout unbind

I've already looked at similar questions but the answers provided involve buttons and not div elements. When I click the div element with id click, the click event handler is disabled by unbind() and