IJ.setAutoThreshold(...);
Posted by ColinWhite on Aug 08, 2011; 5:26pm
URL: http://imagej.273.s1.nabble.com/IJ-setAutoThreshold-tp3683573.html
Hi group,
I'm trying to auto threshold an 8-bit image using the code below. However, this creates a NullPointerException and I don't understand why.
IJ.setAutoThreshold(imp, "Mean dark");
IJ.run(imp, "Convert to Mask", "");
-Colin