Re: histogram from ROI
Posted by
Michael Schmid on
URL: http://imagej.273.s1.nabble.com/histogram-from-ROI-tp4999874p4999890.html
Hi Anna,
the ImageJ Macro function getHistogram does exactly what you want, no need to output the pixels.
http://rsb.info.nih.gov/ij/developer/macro/functions.html#getHistogramWhen programming Java, use
myImagePlus.getStatistics(AREA+MEAN+MODE+MIN_MAX, nBins, histMin, histMax)
Michael
________________________________________________________________
On Aug 28, 2012, at 13:47, Barnes Anna wrote:
> Dear All
> is it possible to output all pixel values from an ROI to create an histogram of values?
>
> I've been using Plugins>Tools>Display Pixel Values but this only seems to give the output from a rectangular ROI within the one I've drawn.
>
> I'm using ImageJ 1.45s for windows.
>
> Thanks
> Anna
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html