Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImageCalculator.run method not accepting options #5

Closed
mparada opened this issue Jun 25, 2015 · 1 comment
Closed

ImageCalculator.run method not accepting options #5

mparada opened this issue Jun 25, 2015 · 1 comment

Comments

@mparada
Copy link

mparada commented Jun 25, 2015

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
Copy link
Member

This is an issue with ImageJ 1.x, so I migrated it there: imagej/ImageJ#10.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants