Point Tool can not point on slice No. 32768

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Point Tool can not point on slice No. 32768

Hidenao IWAI
Hi,

I opened huge images as a virtual stack. I found that Point tool does not work for more than slice No. 32768 (2^15). I'm sure that Point tool does work for less than 32767 (2^15-1), and that Rectangle tool also works for more than slice No. 32768.
 How can I deal with this ?

Best
H. Iwai

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Point Tool can not point on slice No. 32768

Michael Schmid-3
Hi Hidenao,

yes, the "positions" array in PointRoi, which saves the slice number for
each point, is a short-integer array (16-bits, -32768 to 32767).

The "positions" array is only used if you have "Show on All Slices"
disabled in the Point Tool options (double-click on the Point Tool).

With "Show on All Slices" enabled, the Point Tool works like all the
other selections (Rectangle, etc.); then you see the positions of all
points irrespective of the slice currently selected.


Michael
________________________________________________________________
On 01.02.19 13:35, Hidenao Yamada wrote:

> Hi,
>
> I opened huge images as a virtual stack. I found that Point tool does not work for more than slice No. 32768 (2^15). I'm sure that Point tool does work for less than 32767 (2^15-1), and that Rectangle tool also works for more than slice No. 32768.
>   How can I deal with this ?
>
> Best
> H. Iwai
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

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