Forums > Jitter

quantity of motion

February 18, 2006 | 6:23 pm

hi,

i want to get the quantity of motionvalue of an image(section). is there a special tool which making this easier…
i know the jit.tap.motion but i think in version 2.0 it will cost some money… do you know if ver. 1.5 is free and jit.tab.motion is with it? or do you know an alternate object?

thanks
peter


February 18, 2006 | 6:43 pm

something like this …

jit.submatrix to get the region of interest in your incoming video …

then frame difference (see the frame difference example) to get the
"amount of motion"

then threshold the difference image with jit.op @op > @val 127 to
create a binary matrix with "motion and non-motion" pixels …

then cv.jit.sum or cv.jit.mass (from the cv.jit.objects http://
http://www.iamas.ac.jp/~jovan02/cv/) to add up the number of "motion" pixels
(pixels that have changed between this most recent two frames)

make sense?

Cheers,
Christopher


February 19, 2006 | 6:14 pm

you can also use jit.3m in place of the cv.jit external, if you just
want some sort of "number" representing motion


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