Login  Register

Re: ROI structure

Posted by Wayne Rasband-2 on Sep 19, 2019; 3:48am
URL: http://imagej.273.s1.nabble.com/ROI-structure-tp5022449p5022450.html

> On Sep 18, 2019, at 10:35 PM, James Ewing <[hidden email]> wrote:
>
> Dear List:
>
> I’m writing some C code to read out the points in an ImageJ-defined ROI. I’m having trouble reading the list of x,y coordinates in a freehand ROI, which I believe should be short integers (16 bits).  Is there a description of the header and points format for an ImageJ ROI somewhere?  I have an old header description, which seems to work, but I’m not reading the list of x, y coordinates correctly.

The .roi file format is described at the beginning of RoiDecoder.java:

    https://imagej.nih.gov/ij/source/ij/io/RoiDecoder.java

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