Login  Register

Re: Finding Minima in ROI

Posted by Jeremy Adler on Apr 11, 2014; 11:31am
URL: http://imagej.273.s1.nabble.com/Finding-Minima-in-ROI-tp5007276p5007282.html

Generate(analyse/histogram) the frequency distribution histogram for the ROI - read the values and find the bin(s) with the lowest 10 intensities - hence the mean

Or invert the intensities in the image, find the maxima and correct for the fact they have been inverted.


-----Original Message-----
From: ImageJ Interest Group [mailto:[hidden email]] On Behalf Of Lee Hampson
Sent: den 11 april 2014 12:38
To: [hidden email]
Subject: Finding Minima in ROI

Hi

I hope someone can help me with what I think may be very simple problem.  Basically I would like a macro that would find the, say 10, minimum pixel values in a ROI and calculate the mean pixel value of these minima.  Something similar to the Find Maxima command but with Minima.  I have tried to do this, and had a search online but have not found a way to find the minimum pixels as opposed to the maximum.

Thanks in advance for any help you can give me

Lee

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html