quantity of motion

Feb 18, 2006 at 6:23pm

quantity of motion


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?


Feb 18, 2006 at 6:43pm

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?


Feb 19, 2006 at 6:14pm

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


You must be logged in to reply to this topic.