Login  Register

Re: How to read 'raw' data as 32 bit unsigned in Java

Posted by Herbie on Feb 12, 2019; 6:37pm
URL: http://imagej.273.s1.nabble.com/How-to-read-raw-data-as-32-bit-unsigned-in-Java-tp5021772p5021773.html

Good day,

ImageJ doesn't support 32 bit integer gray scale images.

Supported are 8bit and 16bit integer as well as 32bit float. Furthermore
24bit (3 X 8bit) RGB and index color 8bit.

Regards

Herbie

:::::::::::::::::::::::::::::::::::::::::::::
Am 12.02.19 um 19:15 schrieb Robert Lockwood:

> Working with Java I have raw data files with 32 bit integer gray scale data
> which I read into a byte[] array.  I process these data as ints looking for
> adjacent pixels that have the same value in order to debug a problem with
> the camera.
>
> I'd like to create a scaled grayscale RGB from the original data so that I
> may color the detected adjacent pixels to allow us to detect patterns
> visually but I don't understand how to create and populate a grayscale
> integer ImageJ array and have not found an example by Google searching.
>
> How do I do this?
> TIA
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html