Jython script for ImageJ: it calculates the SNR of a stack of images