// Dave Barry, Francis Crick Institute // 2017.11.27 // david.barry@crick.ac.uk // Converts all files in a directory to TIFF - there will be one TIFF file per channel per input file. macro "Quant Black Space"{ directory = getDirectory("Choose input files"); IJ.log("Input: " + directory); fileList = getFileList(directory); IJ.log(fileList.length + " files."); run("Bio-Formats Macro Extensions"); setBatchMode(true); for (i=0; i 1){ run("Split Channels"); } imageSize = getWidth() * getHeight(); minZero = imageSize; titles = getList("image.titles"); for(j=0; j