Login  Register

BufferedImage

Posted by ToeKnee Lacey on Sep 15, 2005; 4:56pm
URL: http://imagej.273.s1.nabble.com/BufferedImage-tp3704856.html

Hi folkes,

Im posting this because, to be honest, I'm lazy.  What is the
quickest way to get an ImageStack to use BufferedImage to display as opposed
to java.awt.image type?  

From the little time I've spent looking (I literally
mean 2 minutes - I said I was lazy) I get the impression I'll have to subclass
ImagePlus - am I wrong?

The reason I want this is simply to get double
buffering working.  I'm writing an interactive markup tool for some medical
image segmentation which suffers from screen flicker.  It will run on a Java
1.4+ system so I'm happy to loose backward compatability.  I've already subclassed
Canvas to get subpixel positioning back from the mouse which works well.

Ideally a brief example of the minimum I need to do would be great, but
any pointers much appreciated.

Thanks in advance,

-tony