Re: ImageJ "Make Binary "
Posted by
Michael Doube on
May 14, 2009; 10:53am
URL: http://imagej.273.s1.nabble.com/ImageJ-Make-Binary-tp3692538p3692540.html
Kataner,
You can run any ImageJ menu command within your plugin code with:
IJ.run("A Plugin");
In your case it is:
IJ.run("Make Binary", "calculate");
(if you want to use the calculate option...)
To find out what to put in the run("") string, use the macro recorder
Plugins->Macros->Record... while running the menu command you want to use.
Cheers
Mike
kataner wrote:
> HI there,
> i hope you can help me. I'm new too ImageJ and trying to use some of the
> functions in a program i have to write. I tried to find a good way to run
> the "make binary" command but couldn't find a way. Maybe i ask too early but
> it would be great if someone could help me with this. Nice would be
> Java-Code.
>
> Greetings kataner
>
> P.S.: Excuse my bad english