ij.plugin
Class ImageCalculator
java.lang.Object
ij.plugin.ImageCalculator
- All Implemented Interfaces:
- PlugIn
public class ImageCalculator
- extends java.lang.Object
- implements PlugIn
This plugin implements the Process/Image Calculator command.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImageCalculator
public ImageCalculator()
run
public void run(java.lang.String arg)
- Description copied from interface:
PlugIn
- This method is called when the plugin is loaded.
'arg', which may be blank, is the argument specified
for this plugin in IJ_Props.txt.
- Specified by:
run
in interface PlugIn
calculate
public void calculate(java.lang.String params,
ImagePlus img1,
ImagePlus img2)
calculate
void calculate(ImagePlus img1,
ImagePlus img2,
boolean apiCall)
doStackOperation
void doStackOperation(ImagePlus img1,
ImagePlus img2)
- img1 = img2 op img2 (e.g. img1 = img2/img1)
doOperation
void doOperation(ImagePlus img1,
ImagePlus img2)
createNewImage
ImageProcessor createNewImage(ImageProcessor ip1,
ImageProcessor ip2,
ij.measure.Calibration cal)
duplicateStack
ImagePlus duplicateStack(ImagePlus img1)