Login  Register

Re: Grabbing output from 'GLCM_Texture'?

Posted by Wayne Rasband on Jul 07, 2006; 6:20pm
URL: http://imagej.273.s1.nabble.com/Grabbing-output-from-GLCM-Texture-tp3702207p3702208.html

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

On Jul 7, 2006, at 9:21 AM, Andy Weller wrote:

> Dear all,
>
> I am trying to save the output from the 'GLCM_Texture' plugin
> as a variable but can't seem to do it!? It outputs results to the
> Results table as:
>
> Angular Second Moment         0.03393919269384904
> Contrast                      35.74723277177291
> etc...
>
> but if I:
>
> run("GLCM Texture", "enter=1 select=[0 degrees] angular contrast
> correlation inverse entropy");
> asm = getResult("Angular Second Moment");
> etc...
>
> nothing is saved and there's a problem?! I've seen in the code that
> the Angular Second Moment is stored as "asm", so I've changed
> my macro accordingly:
>
> run("GLCM Texture", "enter=1 select=[0 degrees] angular contrast
> correlation inverse entropy");
> asm = getResult(asm);
> etc...
>
> but still nothing is saved?!
>
> How can I grab and store these results as a variable?
>
> Many thanks, Andy
>