ImageCalculator.run method not accepting options
mparada opened this issue · 1 comments
mparada commented
ImageCalculator method run does not accept options. OTH, the deprecated method calculate does.
from ij import IJ
from ij.plugin import ImageCalculator
IJ.run("Blobs (25K)");
imp = IJ.getImage();
# this doesn't work
ImageCalculator().run("Subtract create", imp, imp)
# these work
ImageCalculator().run("Subtract", imp, imp) # without options
ImageCalculator().calculate("Subtract create", imp, imp) # deprecated method
ctrueden commented
This is an issue with ImageJ 1.x, so I migrated it there: imagej/ImageJ#10.