Login  Register

Re: How to use Stack_Manipulation package within a plugin

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

Hi Herbie,

Yes you're right that is one way of doing it.
Thanks for the help,

Matt

On 20 Apr 2014, at 16:01, Herbie <[hidden email]> wrote:

> 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
>


--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.

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