Re: Duplicaing Stacks
Posted by David Webster on Oct 09, 2009; 2:58am
URL: http://imagej.273.s1.nabble.com/Duplicaing-Stacks-tp3690862p3690863.html
All,
Wayne's sugestion
You can also call the internal plugin that implements the Duplicate
command directly
ImagePlus img1 = IJ.getImage();
ImagePlus img2 = (new Duplicater()).duplicateStack(img1, "title");
works like gangbusters. This is a good illustration of why familiarity
with the APi is a must as this doesn't show up in tutorials.
David Webster