path="Z:\\Desktop\\Results\\Results 2010\\Niklas\\Image J analysis\\"; print(path); sfmin=2;sfmax=10;lfmin=11;lfmax=6000; Dialog.create("Number of images"); Dialog.addString("Path:", path); Dialog.addNumber("images to be proccessed:", 10); Dialog.addNumber("Small foci min value in pixel:", 8); Dialog.addNumber("Small foci max value in pixel:", 75); Dialog.addNumber("Large foci min value in pixel:", 76); Dialog.addNumber("Large foci max value in pixel:", 500); Dialog.addNumber("Small threshold :", 60); Dialog.addNumber("Large threshold :", 60); Dialog.show(); path= Dialog.getString(); nrbilder=Dialog.getNumber(); sfmin=Dialog.getNumber(); sfmax=Dialog.getNumber(); lfmin=Dialog.getNumber(); lfmax=Dialog.getNumber(); thsmall=Dialog.getNumber(); thlarge=Dialog.getNumber(); print(sfmin+": "+sfmax+": "+lfmin+": "+lfmax+": "+thsmall+": "+thlarge); for (p=1; p155) { nrcoloc=nrcoloc+1; fa=getResult("Area",j); fi=getResult("Mean",j); fc=fc+(fa*fi-fa*155)/100; } } FOCIcolocarea[i]=fc; FOCIcoloc[i]=nrcoloc; } for (i=0; i