Login  Register

return values to a plugin called from within another plugin

Posted by Susanna Trollvad on May 18, 2011; 10:28am
URL: http://imagej.273.s1.nabble.com/return-values-to-a-plugin-called-from-within-another-plugin-tp3684561.html

I have written a plugin(1) which can load a bunch of pictures the call
another plugin/macro(2) which one by one does the same operation on the
pictures and gets a bunch of values from them. I want a way to send the
values obtained (2) to (1) and but all the values in one or more arrays.

Can I write the plugin so that the run method returns the values or will
that make ImageJ go crazy? What other ways is there to do it?

And also in the end I want to use the collected values in (1) to display a
table were each row represents the values for one picture and each column
one of the parameters measured by (2). Any ideas how I best do this?

//Susanna