Login  Register

Re: Macro without windows?

Posted by Herbie on Jul 10, 2016; 12:53pm
URL: http://imagej.273.s1.nabble.com/Macro-without-windows-tp5016836p5016840.html

Good day Jennifer,

although I'm not perfectly clear about your wish, I'll propose two hints:

1.
You may have a look at the IJ-macro command "setBatchMode(arg)" and its
companions: <https://imagej.nih.gov/ij/developer/macro/functions.html>
In "BatchMode" processed images aren't shown and you can avoid showing
resulting windows by closing them before the end of your macro.

2.
For command line processing you may have a look at:
<https://imagej.nih.gov/ij/developer/macro/macros.html#cli>
and
<https://imagej.nih.gov/ij/docs/guide/146-18.html#sub:IJ-cmd-line>

HTH

Herbie

:::::::::::::::::::::::::::::::::::::::::::
Am 10.07.16 um 00:10 schrieb Jennifer Cass:

> hi everyone
> We're having trouble with a macro that we created to analyze and give us
> histograms of each of the following red dots
> <http://imagej.1557.x6.nabble.com/file/n5016836/Screenshot_2016-07-09_18.png>
>
> The scripts runs fine in MSWindows and Linux but in order to have it run in
> a headless environment or in a Raspberry Pi (we got close) it runs into the
> issue that it can't deal with the different windows. Essentially ImageJ
> can't address Windows in certain Linux or headless environments it seems.
>
> So my question is: Is there an way to convert this into something else, a
> plugin perhaps and AVOID opening ImageJ windows to create our processing?
>
> Would you recommend trying to convert this into something else like Matlab?
> Would there be an ImageJ->Matlab converter?
>
> Thanks
> Jenn
>
>
>
>
> --
> View this message in context: http://imagej.1557.x6.nabble.com/Macro-without-windows-tp5016836.html
> Sent from the ImageJ mailing list archive at Nabble.com.
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html