Re: Macro-getOption Built-in function
Posted by
Gabriel Landini on
Aug 04, 2009; 8:38am
URL: http://imagej.273.s1.nabble.com/volume-measurement-and-memory-problems-tp3691572p3691577.html
On Monday 03 August 2009, Damon Poburko wrote:
> If I understand your problem ,you simply need a way to run a
> Z-projection, where the first and last image are somehow dynamically set.
>
> Here is an example:
>
> //first slice
> A = 0;
> //nslices give you the number of slices, whereas the "slice
> number/position will be numbered starting at zero
> B = nslices()-1;
>
> run("Z Project...", "start="+ A +" stop=" + B + " projection=[Average
> Intensity]");
I think that slices start at "1" and end at "nSlices".
G.