Re: IJ.run("Abs", "stack")

Posted by Wayne Rasband on
URL: http://imagej.273.s1.nabble.com/IJ-run-Abs-stack-tp3690903p3690904.html

 > I put this into some Java code that first creates a Stack
 > and inserts it into an ImagePlus object. but, say I had more
 > than 1 Stack/ImagePlus combo, how does IJ.run("Abs",
 > "stack") know which stack to use?

Use the version of the run method that takes an ImagePlus object as an
argument, for example

     IJ.run(imp, "Abs", "stack");

-wayne