`subtract` implies saturation (http://docs.opencv.org/trunk/modules/core/doc/operations_on_arrays.html?highlight=subtract#subtract), so it would be better to use `absdiff`.