Open an ImageStack in a customized ImageWindow

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

Open an ImageStack in a customized ImageWindow

Philippe GENDRE
Dear List,

What is the best way to animate an image sequence into an ImageWindow (my
ImageWindow)?

Thanks.

Philippe

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Open an ImageStack in a customized ImageWindow

John Hayes
Hi Philippe,

I assume you are extending the ImageWindow class. If so, what have you changed that would affect the default image animations? Presumably, the problem is in your CustomImageWindow::paint method, but I think you need to provide more details (or the code itself) for someone to properly answer your question.

Actually, looking at ij/plugin/Animator.java, it seems you need to extend StackWindow and not just ImageWindow. That will probably solve your problem.

HTH and best regards,

John

Le 5 mai 2014 à 15:08, Philippe GENDRE a écrit :

> Dear List,
>
> What is the best way to animate an image sequence into an ImageWindow (my
> ImageWindow)?
>
> Thanks.
>
> Philippe
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Open an ImageStack in a customized ImageWindow

Philippe GENDRE
Thank you John ! Yes it solves the (my) "problem".

I didn't know the availability (existence) of this class (StackWindow).
Sorry to the list asking such a trivial matter (even if the answer is very
usefull for me !).

Regards,

Philippe


2014-05-05 17:31 GMT+02:00 John Hayes <[hidden email]>:

> Hi Philippe,
>
> I assume you are extending the ImageWindow class. If so, what have you
> changed that would affect the default image animations? Presumably, the
> problem is in your CustomImageWindow::paint method, but I think you need to
> provide more details (or the code itself) for someone to properly answer
> your question.
>
> Actually, looking at ij/plugin/Animator.java, it seems you need to extend
> StackWindow and not just ImageWindow. That will probably solve your problem.
>
> HTH and best regards,
>
> John
>
> Le 5 mai 2014 à 15:08, Philippe GENDRE a écrit :
>
> > Dear List,
> >
> > What is the best way to animate an image sequence into an ImageWindow (my
> > ImageWindow)?
> >
> > Thanks.
> >
> > Philippe
> >
> > --
> > ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html