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?
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)
you can also use jit.3m in place of the cv.jit external, if you just
want some sort of "number" representing motion
C74 RSS Feed | © Copyright Cycling '74