public class ImageCalculator extends Object implements PlugIn
// test script
imp1 = IJ.openImage("http://imagej.nih.gov/ij/images/boats.gif")
imp2 = IJ.openImage("http://imagej.nih.gov/ij/images/bridge.gif")
ic = new ImageCalculator()
imp3 = ic.run("Average create", imp1, imp2)
imp3.show()
| Constructor and Description |
|---|
ImageCalculator() |
| Modifier and Type | Method and Description |
|---|---|
void |
calculate(String params,
ImagePlus img1,
ImagePlus img2)
Deprecated.
replaced by run(String,ImagePlus,ImagePlus)
|
void |
run(String arg)
This method is called when the plugin is loaded.
|
ImagePlus |
run(String params,
ImagePlus img1,
ImagePlus img2) |
Copyright © 1997–2018 NIH. All rights reserved.