Saving Raw 32-bit images with imageJ API
Posted by Wise, Bowden (GE, Research) on Jul 06, 2010; 3:02pm
URL: http://imagej.273.s1.nabble.com/Saving-Raw-32-bit-images-with-imageJ-API-tp3687689.html
Hi,
I want to use imageJ to scale some images to decimate them. The input
images are 32-bit real, 2048x2048 images, with little endian. I can read
the images by setting the FileInfo parameters appropriately. However, I
cannot figure out how to save the image back out as 32-bit real,
512x512, little endian.
I tried using FileInfo with appropriate settings and using the FileSaver
but it does not appear to be saving correctly. How do others save their
images as raw?
If I save the same image out as a PNG file, the data is indeed scaled
properly.
Am I missing something?
Thanks!
Bowden