This program evaluates the SNR, PSNR, RMSE, and MAE of images or series of images according the definitions of Gonzalez (R.C. Gonzalez and R.E. Woods, "Digital Image Processing," Prentice Hall 2008). The plugin compares a reference image r(x,y) with a test t(x,y). The two images should have the same size [nx, ny]. The plugin is also able to compare a reference with a stack or a test images or with a sequence a test images.
Signal-to-noise ratio expressed in dB
Peak signal-to-noise ratio expressed in dB
Root mean square error
Mean absolute error
D. Sage, M. Unser, Teaching Image-Processing Programming in Java, IEEE Signal Processing Magazine, vol. 20, no. 6, pp. 43-52, November 2003.
The software provided here is a plugin for ImageJ, a general purpose image-processing and image-analysis package. It runs also on the image-processing package Fiji. ImageJ has a public domain licence; it runs on several plateforms: Unix, Linux, Windows, and Mac OS X. It doesn't take more than a couple of minutes to install.
Download SNR_.jar [Version 06.05.2011], the ImageJ's plugin. The plugin consists in one single JAR file; place it into the "plugins" folder of ImageJ. Do not unzip the JAR file.
Download SNR_.java [Version 06.05.2011].