with video processing, you want to write out a list of every given you have in your system... these kinda of problems tend to be tailor made to the problem at hand. so lets ask some questions:


so the marker has a size, and you need find that size and location?
can there be more than one marker? (ie, more than one animal?)
are the markers a fixed color?
how differentiated are the markers from all from other colors in the scene? is the video live or edited? (ie, can be be sure there will be no cuts between frames, and that a marker will only disappear when the animal moves off screen?) are we assured the marker will always be visible, or can it be occluded by the scene, or when the animal turns around? if there can be more than one animal at a time, is the goal to merely count them, or track specific animals between frames?

feel free to reply offlist, i'm not sure this kind of thing will interest most people. but with these questions answered, i should be able to give you some pointers to get this running at a good clip.

mike
--
Mike Woodworth
[EMAIL PROTECTED]


On Sep 24, 2006, at 4:45 PM, John Kubie wrote:

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>




_______________________________________________
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