NFData instance for images
crossCorr and sqrDist for grayscale images