|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectij.plugin.Duplicator
public class Duplicator
This plugin implements the Image/Duplicate command.
// test script img1 = IJ.getImage(); img2 = new Duplicator().run(img1); //img2 = new Duplicator().run(img1,1,10); img2.show();
Constructor Summary | |
---|---|
Duplicator()
|
Method Summary | |
---|---|
ImagePlus |
run(ImagePlus imp)
Returns a copy of the image, stack or hyperstack contained in the specified ImagePlus. |
ImagePlus |
run(ImagePlus imp,
int firstSlice,
int lastSlice)
Returns a new stack containing a subrange of the specified stack. |
void |
run(java.lang.String arg)
This method is called when the plugin is loaded. |
void |
textValueChanged(java.awt.event.TextEvent e)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Duplicator()
Method Detail |
---|
public void run(java.lang.String arg)
PlugIn
run
in interface PlugIn
public ImagePlus run(ImagePlus imp)
public ImagePlus run(ImagePlus imp, int firstSlice, int lastSlice)
public void textValueChanged(java.awt.event.TextEvent e)
textValueChanged
in interface java.awt.event.TextListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |