Login  Register

Updating displayed images in a virtual hyperstack window

Posted by Bill Mohler on May 08, 2009; 5:49pm
URL: http://imagej.273.s1.nabble.com/Updating-displayed-images-in-a-virtual-hyperstack-window-tp3692602.html

I have a PluginFrame that adjusts the ImageProcessor(s) being
displayed in a virtual hyperstack window.  All the adjustments are
working fine, but I do not see the changes appear in my hyperstack
window until after I do a manual adjustment of one of the sliders for
C,Z,or T.

Right now my itemStateChanged and adjustmentValueChanged methods of
my PluginFrame finish all their work with the lines:

ci.updateAllChannelsAndDraw();
imp.updateAndRepaintWindow();

to address the ImagePlus in the window.  But they don't seem to give
any response within the window.

Any hints on the best way to do this?

Thanks,
Bill