Allow convolution matrix to be applied to image difference