Login  Register

Grabbing output from 'GLCM_Texture'?

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

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