[ImageJ-bugs] [Bug 1183] ij.process.AutoThresholder and fiji.threshold.Auto_Threshold return different values
bugzilla at fiji.sc
bugzilla at fiji.sc
Fri Nov 6 09:54:22 CST 2015
http://fiji.sc/bugzilla/show_bug.cgi?id=1183
--- Comment #3 from Wayne Rasband <wsr at nih.gov> ---
Here is an example that shows how to get the threshold of an entire stack:
imp = IJ.openImage("http://imagej.nih.gov/ij/images/t1-head.zip");
IJ.setAutoThreshold(imp, "Default dark stack");
ip = imp.getProcessor();
print("threshold: "+ip.getMinThreshold());
I used the command recorder (Plugins>Macros>Record) to generate the first two
lines of code.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://imagej.net/pipermail/imagej-bugs/attachments/20151106/5fe3f5c1/attachment.html>
More information about the Imagej-bugs
mailing list