// Run this macro. It asks for two folders. The algorithm compares image by image // the images contained in these folderes. For instance, image_1 in folder 1 to image_1 in folder 2 and so on. // dir1 = getDirectory("Choose Original Directory "); dir2 = getDirectory("Choose Perturbed Directory "); list1 = getFileList(dir1); list2 = getFileList(dir2); //setBatchMode(true); for (i=1; i