Mean value of ROI (OvalRoi)
Posted by austincb on Dec 17, 2006; 1:05am
URL: http://imagej.273.s1.nabble.com/TIFF-Image-Timestamp-capture-time-tp3700783p3700792.html
I've created a specific oval ROI (in code, with specific values) which
I'd like to find the mean value within that area. Rectangles are easy,
but I'm a little lost on how to loop through all the pixels in the
circle and tally the values and number of pixels within the region.
In ImageJ's GUI, if I create an oval ROI with the mouse on the image,
and then select Analyze->Measure from the menu, it gives me the mean
within that oval. That's exactly what I want to do, but I can't find the
code in the source that seems to loop through that oval area.
My dive into the documentation hasn't turned much up, either..
Thanks for any help,
-Austin