Login  Register

Re: How to use Stack_Manipulation package within a plugin

Posted by Herbie-3 on Apr 20, 2014; 2:11pm
URL: http://imagej.273.s1.nabble.com/How-to-use-Stack-Manipulation-package-within-a-plugin-tp5007368p5007369.html

Matt,

do you mean the "stack to images" command from the "Image > Stacks" menu?

If yes, you may try the Macro-recorder with Java-Option. The recorder
will tell you that you can indeed call this operation by

        IJ.run("Stack to Images", "");

HTH

Herbie

::::::::::::::::::::::::::::::::::::::
On 20.04.14 15:42, Matt Pearson wrote:

> Hi all,
>
> How could i run the Stack_Splitter menu command from within a plugin?
> Its part of the Stack_Manipulation jar file so i can't simply do
> IJ.run().  I could look at the Stack_Splitter source code and use the
> relevant code but seems tidier to have a single run command to launch
> it if thats possible.
>
> Thanks,
>
> Matt

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html