Login  Register

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

Posted by dscho on May 14, 2010; 2:06am
URL: http://imagej.273.s1.nabble.com/Template-Matching-with-Rotation-tp3688295p3688301.html

Hi,

On Fri, 14 May 2010, Md Tamjidul Hoque wrote:

>     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?
>
> If "equivalent function" exists, is there a manual for that?

There is a fantastic website about ImageJ:

        http://rsb.info.nih.gov/ij/

It is even categorized into a series of sections, including one called
"macros/dev" ("dev" meaning "development"), which brings you here:

        http://rsb.info.nih.gov/ij/developer/index.html

On this awesome page, there is a link to "API Documentation", which get
you here:

        http://rsb.info.nih.gov/ij/developer/api/index.html

On the lower left side, you will find a list of all classes in ImageJ. And
sure enough, there is also "IJ". For your convenience, all of these class
names are actually hyperlinks, so if you click on "IJ", it will load the
documentation for that class into the right side of the web browser.
There, you will see -- amongst other very useful and thoroughly documented
functions -- this one:

        http://rsb.info.nih.gov/ij/developer/api/ij/IJ.html#run(ij.ImagePlus, java.lang.String, java.lang.String)

Hth,
Johannes