Getting the number of pixels which values are below a certain threshold

Posted by Stephan Bender on
URL: http://imagej.273.s1.nabble.com/Getting-the-number-of-pixels-which-values-are-below-a-certain-threshold-tp3688975.html

Hello,

I'm quite new to ImageJ, I hope someone can help me with this task:

I need get the number of pixels which values are below a certain
threshold. The image format is DICOM (16 bit), and I need the result on
a Unix command line, so I guess I'll have to use a macro function.
A common image has appr. 60% of the pixel values from -2048 to -500, I
need to know the exact number of pixels below -500.

Thank you very much for your help!

Best regards,

Stephan