Re: convert 32Bit-float to 16bit unsigned integer (FileInfo.GRAY16_UNSIGNED)

Posted by dscho on
URL: http://imagej.273.s1.nabble.com/convert-32Bit-float-to-16bit-unsigned-integer-FileInfo-GRAY16-UNSIGNED-tp3691900p3691901.html

Hi,

On Mon, 6 Jul 2009, Alex Ruhl wrote:

> I need help converting and saving a 32bit float-picture (calculated) into
> 16bit unsigned integer.

Have you tried Image>Type>16-bit?

If you need to do this in Java, you may want to take a look at the class
ij.process.TypeConverter.

Ciao,
Dscho