how to retrieve line ROIs statistics ?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

how to retrieve line ROIs statistics ?

lechristophe
Hi,

I have line ROIs and I want to retrieve their statistics in a script.
I found the getLength() method for the ROI class, but how do I get the mean
intensity along the ROI?
I can't use the ImageStatistics class and imp.getStatistics.mean (it
doesn't work for line selections if I tested it correctly).

So how do I do it? Do I have to make a PlotProfile, get the profile values
and implement the mean or is there some easier way hidden in the API?

Thanks,

Christophe