how to sync result table, roi and roi manager.

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

how to sync result table, roi and roi manager.

Aryeh Weiss
We want to be able to select an roi, and automatically have the
corresponding row in the results table selected using the API in a
Python script.

Our idea is to select the roi, use the equivalent of Roi.contains()
(which we found in the macro language) to find the roi in the roi
manager and in the results table. We have the following questions:

1. Was is the API equivalent of Roi.contains()? (We will also try to
find it in the source, but probably someone knows this offhand)

2. How can we  scroll the results table to the required row (when it is
outside of the window area)?

3. Is there something out there that already does this?

Thanks in advance.
--aryeh

--
Aryeh Weiss
Faculty of Engineering
Bar Ilan University
Ramat Gan 52900 Israel

Ph:  972-3-5317638
FAX: 972-3-7384051


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