171819202122232425
public void run(ImageProcessor ip) { } public ImagePlus duplicateStack(ImagePlus imp, String newTitle) { ImagePlus imp2 = (new Duplicator()).run(imp); imp2.setTitle(newTitle); return imp2; }
232425262728293031
imp2.setTitle(newTitle); return imp2; } public ImagePlus duplicateSubstack(ImagePlus imp, String newTitle, int first, int last) { ImagePlus imp2 = (new Duplicator()).run(imp, first, last); imp2.setTitle(newTitle); return imp2; }
1680168116821683168416851686
} /** Returns a copy (clone) of this ImagePlus. */ public ImagePlus duplicate() { return (new Duplicator()).run(this); }