Posted by
Michael Schmid on
Apr 04, 2015; 4:16pm
URL: http://imagej.273.s1.nabble.com/calibration-question-tp5012351p5012353.html
On Sat, April 4, 2015 17:15, Cammer, Michael wrote:
> In the status bar when we drag the cursor over a pixel numbers such as
> 769 (33767)
> are reported. These are 16 bit images with only 12 bits of values.
>
> How can we get rid of the number in parenthesis (without something
> complicated like converting to 32 bits, back to 16, and diving by 16)?
Hi Michael,
the value "769 (33767)" looks strange. Do you have signed integers in the
original file? Then it would be "769 (33537)" or "999 (33767)". If it you
read signed numbers from the file, and you have no negative values, simply
subtract 32768 and set the function in Analyze>Calibrate to 'none'.
If you have positive and negative numbers, there is no other way than
either converting to float (32 bits) or living with the display showing
the calibrated (signed) and raw values. That's because ImageJ has no
'true' signed-integer data type for images, it uses unsigned 16-bit values
and the calibration to convert these values to signed values.
Michael
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html