Login  Register

Re: convert to 12 bits ??

Posted by dscho on Oct 06, 2014; 12:06pm
URL: http://imagej.273.s1.nabble.com/convert-to-12-bits-tp5009912p5009913.html

On Mon, 6 Oct 2014, Tabare tabare wrote:

> Can I convert 16 bits  to 12 bits with Imagej

ImageJ 1.x only knows the following data types: unsigned 8-bit, unsigned
16-bit and IEEE floating point 32-bit [*1*].

Therefore, it is not possible to convert 16-bits to 12-bits in ImageJ 1.x.

However, 16-bits enclose the complete 12-bit range; You should be able to
do pretty much anything on the 16-bit version of your images – until you
run out of memory, that is (because native 12-bit would use roughly 25%
less memory than native 16-bit, of course).

Ciao,
Johannes

Footnote *1*: There is also a legacy RGB type but as it does not define
*which* RGB – sRGB? Adobe RGB? ISO RGB? PAL? – it is of very limited use
to scientific ends.

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