Re: Macro
Posted by
Gluender on
Feb 04, 2007; 11:32pm
URL: http://imagej.273.s1.nabble.com/Macro-tp3700405p3700406.html
Dear Gib Bogle,
I doubt your efforts because the ImagJ docs come with a section
dealing with the macro language and its "Built-in Macro Functions".
There you may find the macro calls "getRawStatistics(...)",
"getStatistics(...)", getHistogram(...) and many other calls of
relevant routines.
>This is a very basic question. When I run a method in a macro, how
>do I access the results?
>The specific example I'm interested in is Measure. If I do this:
>
>run("Measure");
>
>a Results window pops up with columns Label, Area, Mean, StdDev,
>Min, Max. I want to get at these result values in the macro, i.e. I
>want to be able to do something like
>
>intensity = Results.Mean;
>
>The other thing I'd like to do is suppress the Results window
>display. Basic information of this sort must be obtainable from the
>various macro examples, but I looked at quite a few without success.
>Is there a central resource for programming info of this kind?
>
>Thanks very much
>Gib
HTH
--
Herbie
------------------------
<
http://www.gluender.de>