Image autocorrelation matlab. Image Processing - Spatial one dimension