|
|||||||||
| 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 | |
|---|---|
static Overlay |
cropOverlay(Overlay overlay,
Rectangle bounds)
|
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. |
ImagePlus |
run(ImagePlus imp,
int firstC,
int lastC,
int firstZ,
int lastZ,
int firstT,
int lastT)
Returns a new hyperstack containing a possibly reduced version of the input image. |
void |
run(String arg)
This method is called when the plugin is loaded. |
void |
textValueChanged(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(String arg)
PlugIn
run in interface PlugInpublic ImagePlus run(ImagePlus imp)
public ImagePlus run(ImagePlus imp,
int firstSlice,
int lastSlice)
public ImagePlus run(ImagePlus imp,
int firstC,
int lastC,
int firstZ,
int lastZ,
int firstT,
int lastT)
public static Overlay cropOverlay(Overlay overlay,
Rectangle bounds)
public void textValueChanged(TextEvent e)
textValueChanged in interface TextListener
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||