Bet way to get mean value of ROI in a plugin?

Posted by JPCLAMME on
URL: http://imagej.273.s1.nabble.com/Bet-way-to-get-mean-value-of-ROI-in-a-plugin-tp3692428.html

Hello,

I need to get the mean value of the intensity in a ROI to use  in a
plugin. Right now, I'm using the measure function, then I go and retrieve
the value in the result table.
I was wondering if there would be a cleaner / easier /better  way to
retrieve  this value ?

Thanks

JP