Not able to use ROIs with coordinates higher than 2^16 (65536)

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

Not able to use ROIs with coordinates higher than 2^16 (65536)

Ignacio García González
Hello,

I am working with very long images, and I encountered a trouble with ROI
coordinates are higher than 16 bits (65536). In this case, the ROIs are
correctly displayed on the image, but apparently incorrectly written to
the file. Values higher than 65536 are restarted (e.g., a ROI with an
upper coordinate at Y=65780 was saved to file, and located at Y=244). As
a consequence, ROIs are incorrectly located when saved to a file and
opened again. This happens at least with polygon ROIs.

Greetings,

Ignacio.

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

Re: Not able to use ROIs with coordinates higher than 2^16 (65536)

Rasband, Wayne (NIH/NIMH) [E]
On Jun 17, 2016, at 7:31 PM, Ignacio García González <[hidden email]> wrote:
>
> Hello,
>
> I am working with very long images, and I encountered a trouble with ROI coordinates are higher than 16 bits (65536). In this case, the ROIs are correctly displayed on the image, but apparently incorrectly written to the file. Values higher than 65536 are restarted (e.g., a ROI with an upper coordinate at Y=65780 was saved to file, and located at Y=244). As a consequence, ROIs are incorrectly located when saved to a file and opened again. This happens at least with polygon ROIs.

This bug is fixed in the latest ImageJ daily build (1.51e2).

-wayne


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