On the use of correlation functions for improving the image signal-to-noise ratio