Login  Register

Re: Pass an ImagePlus to a plugin other than the active window ImagePlus

Posted by ctrueden on Dec 02, 2010; 2:12am
URL: http://imagej.273.s1.nabble.com/Pass-an-ImagePlus-to-a-plugin-other-than-the-active-window-ImagePlus-tp3686323p3686326.html

Hi Karen,

I need to be able to pass a specific
> ImagePlus to that plugin rather than have it grab the active window
> ImagePlus. Is it possible to run a plugin from another plugin and pass it a
> specific ImagPlus?
>

Check out the method:
  IJ.run(ImagePlus imp, String command, String options)

-Curtis

On Wed, Dec 1, 2010 at 8:06 PM, kacollins <[hidden email]>wrote:

> I am writing a plugin. I am familiar with how to use IJ.run to run a second
> plugin from my plugin. However, I need to be able to pass a specific
> ImagePlus to that plugin rather than have it grab the active window
> ImagePlus. Is it possible to run a plugin from another plugin and pass it a
> specific ImagPlus?
>
> Thanks,
>     Karen
> --
> View this message in context:
> http://imagej.588099.n2.nabble.com/Pass-an-ImagePlus-to-a-plugin-other-than-the-active-window-ImagePlus-tp5794538p5794538.html
> Sent from the ImageJ mailing list archive at Nabble.com.
>