Posted by
ToeKnee Lacey on
Sep 19, 2005; 9:46am
URL: http://imagej.273.s1.nabble.com/BufferedImage-tp3704856p3704857.html
It was more the conversion from ImagePlus to buffered image which represented
the effort I was unable to muster then enthusiasm to do. Thankfully, through
the joy of open source development and the efforts of Jarek (to whom I am
incredibly grateful) my laziness was rewarded.
However, it is useful to
know that the second part of my devious plan (thats the one involving pumping
the images back onto an ImageStack and not the one involving a powerful, space
borne super laser) has some precedence.
Many thanks
--- ImageJ Interest
Group <
[hidden email] wrote:
To display a buffered image in an ImageStack
I make a series of bi's, then make an imagePlus from each (new ImagePlus("new"+title,
bi), add each one to an ImageStack, then display the stack in a new StackWindow.
Is that what you are after?
>
> Audrey
>
>
>
> ToeKnee Lacey <
[hidden email]>
wrote: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
>