Autocorrelation and regularization in digital images. I. Basic theory | Synapse