// Macro for 1) removing the ring of fluorescence around the well edge, // 2) enhancing contrast of weakly stained cells (if needed), 3) cropping each image // into 100 subimages, and 4) saving. ImageJ can also break up multipage TIFF // files using 'Stack to Images' but this function is not utilized in the following macro. // Hides images during macro execution setBatchMode(true) // Choose directory then store directory path in the variable "file" directory = getDirectory("Choose a Directory"); files = getFileList(directory); x = 0; // Iterate through all files in the folder (make sure the folder contains only the // images you want to analyze and no extra files like folders, etc.) for (i=0; i