background subtraction and accumulation in android opencv

867 views
Skip to first unread message

Andy

unread,
Feb 9, 2012, 12:26:31 PM2/9/12
to android-opencv
Anyone done simple background subtraction in android's opencv?
I tried just hacking the Image manipulations example sample project,
and replaced one of the process frame commands with:

Imgproc.accumulate(mRgbaInnerWindow, mRgbaSubtract);

but i get null pointers
but also, once i get a background image, what's the equivalent of the
cv::AbsDiff? function?
thanks!

Kirill Kornyakov

unread,
Feb 10, 2012, 3:40:01 AM2/10/12
to android...@googlegroups.com
Here are some Unit-tests for the accumulate function.
Equivalent is the Core.absdiff(src1, src2, dst) function.

Regards,
Kirill
Reply all
Reply to author
Forward
0 new messages