Forums > Jitter

Tracking Color and Difference

March 31, 2009 | 2:44 am

We have a patch that uses jit.op to find the difference between the previous and current matrices, and a patch that tracks colors.

Our problem is that we will be recording a white wall with colored splotches, and when we throw a ball at the wall we want the matrix to only see the color of the ball and ignore the still colors already there. But the jit.op differencing does not really register color enough to be able to track it.

I don’t really have a specific question, we are just stumped at how to do this. At first we thought of setting it to where when the ball hit the wall the projector would flash white so the camera would only see the ball, but with delays in the webcam and the program it would be very difficult to get it right. If the patch only picked up the movement on the camera then it could ignore the splotches already there. Is there any other method of tracking the difference between frames? Or is there a way to get more information out of the jit.op object?

Thanks


April 1, 2009 | 5:12 pm

search for background subtraction.

also check out the cv.jit library.



azs
April 3, 2009 | 1:15 am

Just use jit.op @op absdiff, with the video matrix in the left and a frame of the still video in the right. Then you can use findbounds to track luminance with only one plane. (rgb2luma)



CTB
September 14, 2010 | 7:04 am

seen camspace?

http://camspace.com/


Viewing 4 posts - 1 through 4 (of 4 total)