Login  Register

Re: How to use Stack_Manipulation package within a plugin

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

Sorry Matt,

I can't say anything about FIJI.

In ImageJ I find the operation "Make Substack" that obviously does less
than you've mentioned. It can be called by

        run("Make Substack...", "  slices=3-4");

If you call it several times with the appropriately chosen slices it
should perform what you desire -- no?

HTH

Herbie

::::::::::::::::::::::::::::::::::::::
On 20.04.14 16:38, Matt Pearson wrote:

> Hi Herbie,
>
> I should have said, i'm using FIJI and in the Image menu is
> >Stacks>Tools>Stack Splitter
>
> This can divide a stack into a number of sub-stacks, so if i had 10
> images in the stack i could divide it by 5 to make 5 stacks of 2
> images.  So i'd like to use this stack splitter function from within
> my plugin but not sure how to run it.  In the plugins folder its
> called Stack_Manipulation.jar.
>
> I should also say that i'm new to JAVA plugins, i've been sticking
> with the macro language up to now.
>
> Thanks,
>
> Matt

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