Login  Register

A question about ImageJ's threshold values

Posted by Avital Steinberg on Jun 16, 2015; 12:34pm
URL: http://imagej.273.s1.nabble.com/A-question-about-ImageJ-s-threshold-values-tp5013177.html

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