Login  Register

Re: Moment Calculator

Posted by Weller Andrew Francis on Jul 11, 2006; 2:43pm
URL: http://imagej.273.s1.nabble.com/Grabbing-output-from-GLCM-Texture-tp3702207p3702210.html

Dear all,

Maybe there is a problem due to "Duplicate keywords"?!

When I record this macro a "Recorder" dialog box comes up with:

-----
Duplicate keyword:
   Command: "Moment Calculator"
   Keyword: " centre"
   Value:
Add an underscore to the corresponding label in the dialog to make the
first word unique.
-----

This is the same for keywords: " variance", " skewness", " kurtosis" and
"enter" which has a value of "1.0000".

I have looked in source code to see if I can add an underscore to update
this plugin, but these variables aren't there?!

I am a little lost with this - any suggestions?

Thanks, Andy

On Mon, 2006-07-10 at 17:26 +0200, Andy Weller wrote:

> Excellent - thanks for the updated "GLCM Texture" plugin.
>
> Maybe a similar thing is happening with the "Moment Calculator" plugin.
> On running manually it seems fine, but as a macro the results are empty.
> I get either "0" or "NaN".
>
> How can I change this to make it macro-able?
>
> Thanks, Andy
>
> On Fri, 2006-07-07 at 13:20 -0400, Wayne Rasband wrote:
> > There is an updated version of the "GLCM Texture" plugin (v0.4) that
> > works with macros and stacks.
> >
> >        http://rsb.info.nih.gov/ij/plugins/texture.html
> >
> > -wayne

--
Dr. Andy Weller
ETH Zurich
Geological Institute
CAB E 64
Universitaetstrasse 6
8092 Zurich, Switzerland

[hidden email]
www.erdw.ethz.ch/Weller

+41 44 632 84 12 office
+41 44 632 36 82 lab
+41 76 426 36 99 mobile
+41 44 632 10 80 fax