I want to find each of the "blobs" (sets of contiguous pixels). For each blob I want to get the center of mass and number of pixels. I actually have a method for doing this, but it seems very slow and inefficient. As I said, I did some web searching and it seems to be a fairly common problem, but I couldn't get sufficiently deep into it.

The overall problem is tracking a marker on an animal from frames of a movie. As one can imagine, doing this on each frame is very time consuming. I've thought of using frame differences, but I'm not convinced it will buy much.

I hadn't thought of using floodfill. I can see how this would be a fast method to paint a blob. But I don't see how I can efficiently get information about which pixels have been painted without painstakingly going through each pixel and looking at its color.

john kubie


On Sep 24, 2006, at 3:57 PM, Phil M wrote:

What exactly are you looking for?

If you are looking for the difference between two pictures, you might try using a formula to convert a color photo into 1-bit, and then XOR the difference between the two. Let me know if this is what you mean and I will see if I can do something about it.

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to