answered 2013-12-05 05:07:01 -0600
You could use absdiff to find differences between images:
Mat img1, img2, img3; img3 = absdiff(img1,img2);
http://docs.opencv.org/modules/core/doc/operations_on_arrays.html#absdiff