Login  Register

Re: Equivalent function for the IJ.run(...)

Posted by BenTupper on May 14, 2010; 12:44am
URL: http://imagej.273.s1.nabble.com/Template-Matching-with-Rotation-tp3688295p3688302.html

Hi,

On May 13, 2010, at 7:49 PM, Md Tamjidul Hoque wrote:

> Dear All
>
>       I was applying some of the functions of ImageJ to the  
> currently open Image window,
>
> such as:
>
>    IJ.run("Watershed");
>    IJ.run("Median...", "radius=2");
>    IJ.run("OtsuThresholding 16Bit");
>    ........
>
> How can I call the equivalent functions (or apply the same  
> IJ.run(...) ) for particular image-file rather than the current  
> window?
>

I think you are looking for the IJ.run method that takes the ImagePlus  
reference as input.

IJ.run(myImp, "Watershed");

Cheers,
Ben




> If "equivalent function" exists, is there a manual for that?
>
> Any help is much appreciated.
>
> Thanks
> Tamjid