Re: How to get a stack from an inactive "ImagePlus" window?
Posted by dscho on Sep 13, 2006; 10:47am
URL: http://imagej.273.s1.nabble.com/Image-Total-Variation-Calculation-Plug-in-tp3701600p3701603.html
Hi,
On Wed, 13 Sep 2006, yel wrote:
> I need to develop a plug-in to get a stack from an inactive
> "ImagePlus" window, but the interface "PlugInFilter" only
> provides the actived window "ImagePlus imp" parameter.
You can get another ImagePlus by using the static methods getImage() of
the class ij.WindowManager. Example:
ImagePlus otherImage = WindowManager.getImage("blobs.gif");
Hth,
Dscho