Re: print Roi?

Posted by Fred Damen on
URL: http://imagej.273.s1.nabble.com/print-Roi-tp5024487p5024488.html

Greeting Kenneth,

Analyze>Tools>ROI Manager::More>>open...
::Properties::List Coordinates then OK
Note: On a Oval ROI the listed coordinates are an interpolated version of
the displayed vertices.
FloatPolygon fp = Roi.getFloatPolygon();
If you want to read the actual .roi file and list the contents, there are
MATLAB scripts out there that do this, i.e., easy to read.

::More>>::List
This answers one of my previous bonus questions, i.e., GUI display of
bounding box in voxel/pixel coordinates.

Fred

Produces the definition of the
On Tue, March 2, 2021 4:04 pm, Kenneth Sloan wrote:

> I have many (polygon) ROIs stored as .roi files.
>
> How can I print the coordinates of the vertices of the ROI?
>
> --
> Kenneth Sloan
> [hidden email]
> Vision is the art of seeing what is invisible to others.
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

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