Threshold as a percentage of image histogram?
Posted by Roger Chang-3 on Jul 02, 2008; 6:54pm
URL: http://imagej.273.s1.nabble.com/Threshold-as-a-percentage-of-image-histogram-tp3695671.html
Dear ImageJ Listserv members,
ImageJ's threshold function (Image>>Adjust>>Threshold) displays an image
histogram of the number of pixels with certain pixel intensities (0-255). I
was curious if there's maybe some function out there that I could use in a
macro/plugin where a user could input a desired percentage (area fraction)
and the output would be the threshold number that would correspond to that
percentage of the total area underneath the image histogram curve. Any
programming ideas to implement this capability would be appreciated as well!
Hopefully my explanation makes sense. Please reply to this post if further
elaboration is needed. I searched the list archives before posting this
message and did not come up with a previous post related to this topic. I
apologize in advance if there was a previous post already out there related
to my topic.
Yours truly,
Roger Chang
Washington University in St. Louis BME Department: Efimov Lab