Login  Register

Re: Result table in plugin

Posted by Olivier Burri on May 11, 2015; 2:41pm
URL: http://imagej.273.s1.nabble.com/Result-table-in-plugin-tp5012789p5012804.html

Hi Nico,

Like I said in the PM to you, I edited the .java file which is the source code of the plugin, which I found here:
http://www.gcsca.net/IJ/ImageCorrelationJ.html

I basically modified two functions:
writeResults(double[] l, String l1, String l2)
and
writeResults(float i, float m, float s)

These now output to a results table instead of to a text window.
I also took the liberty of removing the Local Region Size value from the title and put it in as another column.

The two results tables are declared as static near the top of the class, this allows for the results to be appended as we keep calling the plugin, so now you should be able to run it for all your images before you have to think about recovering the results.

I will wait for the reply from the plugin's author before posting the resulting modifications somewhere public. I don't know how he likes to proceed.

Best

Oli

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