Hello everyone,
I wrote a script that uses Image_Expression_Parser to process several stacks at once.
After completing the computation, I need to convert the result back into a 32-bit stack (I wish I have time someday to learn ImgLib2, but up to now, I’m happy with IJ1 stacks).
So I’m using:
ImagePlus resultImp = net.imglib2.img.display.imagej.ImageJFunctions.wrapFloat(result, “epsEq”)
with result, obtained from the Image_Expression_Parser, representing a 120x60x30 stack (for example).
W…

If you’re using ImageJ2 Parameter annotations, then it’ll be something like