//choose a downsize scle and a directory #@ String (label=" ", value="High Throughput Analysis
Cell Adhesion Assay
", visibility=MESSAGE, persist=false) heading #@ String(label="Select mode:", choices={"2x2", "4x4"}, style="radioButtonHorizontal") binning #@ File(label="Select directory:", style="directory") dir #@ String (label=" ", value="", visibility=MESSAGE, persist=false) logo #@ String (label=" ", value="Neuromolecular Biology Lab
ERI BIOTECMED, Universitat de València (Valencia, Spain)
", visibility=MESSAGE, persist=false) message //get file list and create an output folder list=getFileList(dir); dirName=File.getName(dir); output=dir+File.separator+dirName+"_dwsz"+binning; File.makeDirectory(output); //set the scale if (binning=="2x2") { scale=0.25; } else { scale=0.0625; } //resize and save setBatchMode(true); for (i=0; i