Login  Register

Enhance Contrast with 16 bit images only uses 256 bins

Posted by Charles Brossollet-2 on Dec 02, 2010; 9:45am
URL: http://imagej.273.s1.nabble.com/Enhance-Contrast-with-16-bit-images-only-uses-256-bins-tp3686304.html

Hello,

I have problems using contrast enhancement on 16 bit gray-level images. My
images have 99% of pixel values in the 5% of true min-max range, so an
histogram with 256 bins will have huge pixel counts on a few bins. This
gives inappropriate contrast enhancement since it seems that ImageJ uses 256
bin histogram for this function.

I have an example image here:
http://dl.dropbox.com/u/2539804/TD1.tif

Good LUT range for this image is about 5 to 250 levels, but the "enhance
contrast" with 0,35 gives 3 to 743, leading to a poorly contrasted display.
INMHO computing histogram on more bins should solve the problem.

Best regards,
Charles