/* Files are 4 channels. Channel 2 is green. Channel 3 is red. They need to be compared. Step 1. Spilt the channels into seprate files for JACoP. Step 2. Run JACoP */ /* Michael Cammer 20150303 ImageJ 1.49o30 */ macro "JACoP on all files in directory [q]" { run("Close All"); //dir1 = getDirectory("Choose Source Directory "); inputDir = getDirectory("Choose Source Directory "); //outputDir = getDirectory("Choose Destination Directory "); outputDir = inputDir; list = getFileList(inputDir); setBatchMode(true); for (i=0; i