run("Set Scale...", "distance=1 known=5.3858 unit=um"); //run("Brightness/Contrast..."); run("Enhance Contrast", "saturated=0.35"); run("Apply LUT", "stack"); run("Close"); //setTool("oval"); makeOval(54, 80, 770, 778); makeOval(2, 10, 770, 778); makeOval(2, 10, 854, 778); makeOval(2, 10, 854, 844); makeOval(2, 2, 854, 852); run("Crop"); //setTool("rectangle"); //setTool("hand"); makeOval(0, 0, 854, 852); setAutoThreshold("Default dark"); //run("Threshold..."); run("Close"); setBackgroundColor(0, 0, 0); run("Clear Outside", "stack"); //run("Threshold..."); setAutoThreshold("Otsu dark"); saveAs("Tiff", "C:/Users/......./Doddington_Sandstone/dodd_5.3858_Cropped.tif"); setOption("BlackBackground", true); run("Convert to Mask", "method=Otsu background=Dark calculate black"); run("Close");