Greetings,
In release 1.52u14:
imp = IJ.createImage("HyperStack", "32-bit grayscale-mode", 512, 512, 1,
2, 1);
imp.setRoi(new OvalRoi(199,181,146,150));
IJ.run(imp, "Fill", "stack");
IJ.run(imp, "Convert to Mask", "method=Huang background=Default calculate");
IJ.run(imp, "Fill Holes", "stack");
left imp unchanged.
In release 1.53e14, you need to add the option "black" to "Convert to
Mask", or else imp becomes all white. I have not changed any options,
i.e., defaults, anywhere between it working in the old release and now
requiring the "black" option in the new release. Are there any options
that effects this? Should adding "black" to the "Convert to Mask" options
string work as described above in all releases?
Thanks,
Fred
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html