Re: 16-bit grayscale from URL?
Posted by
Zummy on
Nov 17, 2005; 6:51pm
URL: http://imagej.273.s1.nabble.com/16-bit-grayscale-from-URL-tp3704396p3704398.html
Hmm. I am having trouble with TIFF. I don't know
if it's ImageJ or ImageMagick, or just the size of the
images. Thanks for the note though. I will try
our download link to verify that the TIFFs are generated
from ImageMagick.
I think I read somewhere that PNG can support 16-bit
greyscale. Any hopes of seeing support in ImageJ?
John
At 06:22 PM 11/16/2005, you wrote:
>ImageJ can open 16-bit TIFFs using a URL. For example, the
>File>Import>URL command will open the 16-bit TIFF at "http://
>rsb.info.nih.gov/ij/images/m51.tif". PNG files open as RGB or 8-bit
>grayscale.
>
>-wayne
>
>On Nov 16, 2005, at 7:42 PM, John Carlson wrote:
>
>>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