How to animate the ImageJ stack window
Posted by
Student1 on
May 28, 2014; 9:14pm
URL: http://imagej.273.s1.nabble.com/How-to-animate-the-ImageJ-stack-window-tp5007962.html
Hi,
I made a customized GUI to display the images that are on the stack. I have taken the contents out of the stack window placed it in my internal frame but when I try to animate the stack it doesn’t work at all. This is what I have tried so far:
ImageCanvas ic = new ImageCanvas(image);
StackWindow sw = new StackWindow(image,ic);
panel2.add(sw.getContentPane());
sw.setAnimate(true);
//sw.run();
//sw.getAnimate();
I don’t know what I am missing cause the sw.setAnimate(true) just displays the first image on the stack and doesn’t changed. If I comment that line out then it displays the entire stack but you have manually animate it.
Thanks
Mariam Dost
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html