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?

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)