How to read 'raw' data as 32 bit unsigned in Java
Posted by
Robert Lockwood on
Feb 12, 2019; 6:15pm
URL: http://imagej.273.s1.nabble.com/How-to-read-raw-data-as-32-bit-unsigned-in-Java-tp5021772.html
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