Login  Register

Re: A question about ImageJ's threshold values

Posted by Michael Schmid on Jun 17, 2015; 6:19pm
URL: http://imagej.273.s1.nabble.com/A-question-about-ImageJ-s-threshold-values-tp5013177p5013195.html

Hi Avital and everyone,

there was a bug in the percentile display of the Threshold panel; the highest pixel value (255 for uncalibrated 8-bit images) was not included in the statistics if it was not inside the thresholded range.
Wayne has fixed this in the latest daily build, 1.49v4.

Michael
________________________________________________________________

On Jun 16, 2015, at 14:36, Avital Steinberg wrote:

> Hi,
> When I choose any auto thresholding method in ImageJ, I get a histogram. I
> can change the threshold values using a slide bar and I see percent values.
> Are these percent cumulative frequencies for the histogram, or something
> else?
>
> I would like to write a macro which, when given a percent value from this
> slide bar, would give me a threshold value. I tried doing this with the
> following macro:
>
> http://imagej.1557.x6.nabble.com/Threshold-as-a-percentage-of-image-histogram-td3695671.html
>
> but the values it gave were different from what I expected.
>
> Also, there must be something that I don't understand, because the
> percentile auto thresholding method shows a value of 70.17% percent on the
> slide bar. I thought it would give me 50%.
>
> I'm confused and would appreciate your help.
>
> Thanks,
>
> Avital

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