//Global Variables var orig = ""; //stores name of picture // for createTable() var title1 = 0; //Name of Results Table var f=0; //Result Table // for folderChoice() var filecount = 0; // how many files are there? var filestoprocess = newArray(1000000); //file names to process resetImageJ(); createTable(); // creates the results table folderChoice(); // run it first time start = getTime(); filestoprocess = Array.trim(filestoprocess, filecount); for (z=0; z