Login  Register

list of x, y, and z coordinates included in a list of ROI in ROI Manager

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

list of x, y, and z coordinates included in a list of ROI in ROI Manager

Ioannis Sechopoulos
2 posts
I hope somebody can help me.
I need to obtain a list of the x, y, and z (slice number) coordinates of
the pixels included in ROIs listed in the ROI Manager. The ROIs are a
combination of freehand and freehand+brush selections.
Specifically, I would create a ROI in a slice of a stack, add it to ROI
Manager, then move to the next slice, modify the ROI with the brush, add
it to the ROI Manager, etc. When done, I need to be able to output the
list of coordinates for all the ROIs. Any Macro or set of commands to be
able to do this?

Thanks in advance!
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: list of x, y, and z coordinates included in a list of ROI in ROI Manager

Ioannis Sechopoulos
2 posts
I'll answer my own question since I found a way to do almost exactly what I needed (with some improvements!), and I'll describe it here for posterity.

I found the "Segmentation Editor" plugin:

http://132.187.25.13/home/?category=Download&page=SegmentationEditor

which allows for me to do what I needed almost as I described. With this plugin, you can manually set ROIs in several slices (even more than one ROI per slice) using the ImageJ selection tools (you can skip some slices and then interpolate the ROIs in between) and use some additional functionalities (opening, closing). When done, this plugin creates a 3D mask image. You can save this image or then use Analyze->Tools->Save XY Coordinates if you need a listing of the x,y,z coordinates in text form. Very useful.

Hope this helps anybody else looking for similar functionality.