Login  Register

Re: 16bit binary

Posted by Robert Lockwood on Mar 31, 2014; 2:36pm
URL: http://imagej.273.s1.nabble.com/16bit-binary-tp5007140p5007150.html

You have another problem as Java doesn't support unsigned shorts if you
really need the value 65535 you need to use an int.  If you need a short
with all the bits set and you are not interpreting it the value is -32767,
but someone else will need to reply for an ImageJ method to do that.


On Mon, Mar 31, 2014 at 12:21 AM, Benito Alarcon <[hidden email]>wrote:

> Dear all, in order to operate between 16bit images we would need to get a
> binary image. The binary that we obtain in ImageJ is a 8bit. Is it possible
> to get a 16bit binary which values were 0 and 65535?. Sorry if this is an
> obvious question, I am new in this area. Thanks in advance
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>



--
When I was 12 I thought I would live forever.
So far, so good.

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