16-bit grayscale from URL?
Posted by Zummy on Nov 17, 2005; 12:42am
URL: http://imagej.273.s1.nabble.com/16-bit-grayscale-from-URL-tp3704396.html
I am using new ImagePlus(url).show(). Will this
display a 16-bit greyscale file with 16-bit values
in ImageJ, or will it convert to 8-bit? I plan to use
the PNG file format. We are using ImageMagick
to convert to PNG, so if ImageMagick converts to
8-bit grayscale, let me know that as well.
I don't really want to go through the trouble of reading
the PNG into a short array--I'd rather that ImageJ just
do the right thing when it parses the PNG file. We
had problems with passing Java 16-bit grayscale
Image objects to ImageJ, so I'm wondering if there
is an issue here as well.
I am using version 1.28.
My users like to see the 16 bit values, hence we don't
want to convert to 8 bit. We are using a 12-bit camera
to capture the images. We used to use 8-bit cameras,
so we have mixed data now.
So far, I am seeing 8-bit, but I'm not sure what part of the
application has 16-bit. We are attempting to get
an image we know is 16-bit to try this experiment on.
Obviously, this is a little premature, but I thought I'd
ask.
John