Re: ImageCalculator Result
Posted by
Wayne Rasband on
Oct 11, 2009; 12:55am
URL: http://imagej.273.s1.nabble.com/ImageCalculator-Result-tp3690847p3690848.html
On Oct 10, 2009, at 4:19 PM, David William Webster wrote:
> All,
>
> My latest confusion is over how to get the ImagePlus object created
> by the ImageCalculator. That is, say I do something like that shown
> below, but I want to change the title of the result, then I need to
> have
> the ImagePlus object created by iC.calculate(). How can I get it?
>
> ImageCalculator iC = new ImageCalculator();
> iC.calculate("divide create 32-bit stack", imIn, imL5L5);
Upgrade to the v1.43i daily build and use
ImageCalculator iC = new ImageCalculator();
ImagePlus result = iC.run("divide create 32-bit stack", imIn,
imL5L5);
-wayne