generated a correlation file for coefficients between images