how active a different img

Posted by sombreroduck on
URL: http://imagej.273.s1.nabble.com/activeImage-how-to-set-it-tp3701057p5002556.html

Hi,
I'm writing a plugin which runs an FFT and then an Inverse FFT on (part of) an image. I then want to overlay this new inverse back onto the original image, and had thought to do this with IJ.run("Add Image...", "etc...);  but to do this the original image would have to be active.

I've tried selectImage(id) and selectImage(title) but it just throws errors "cannot find symbol". Does anyone know how I can convince it to make the original image active again?

(alternatively if you know another way to pop the inverse FFT back onto the original img?)


Cheers!
R