Update an ImageWindow

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Update an ImageWindow

JingleHymrShmit
Hello,

I'm writing a plugin and I would like to know if there is a way to keep the same ImageWindow but just change what is being displayed in it. My program analyzes a lot of images, one at a time, and I would like to display the processed image one after another but in the same window. I tried using the updateImage(ImagePlus) method, but the compiler is giving me an error that "imp != this.imp" or something like that. Any help would be much appreciated. Currently I have the plugin just open a new window and then close it each time, but I think it would look better if the ImageWindow was just updated each time. Thanks.