NIH LISTSERV
NIH LISTSERV
IMAGEJ archives -- May 2002 (#115)

Go to: Previous Message | Next Message
Previous in Topic | Next in Topic
Previous by Same Author | Next by Same Author
Previous Page (May 2002) | Back to Main IMAGEJ Page


Options: Reply | Post a New Message | Join or Leave IMAGEJ, or Change Options | Search
View: Chronologically | Most Recent First | Wrap Text (Proportional Font) | Don't Wrap Text (Non-proportional Font)
*

Content-Type: text/plain; charset="iso-8859-1"
Message-ID:  <000e01c20000$ca3583e0$b6010b98@MOBILENICK>
Date:         Mon, 20 May 2002 09:16:34 -0400
Reply-To:     ImageJ Interest Group <[log in to unmask]>
Sender:       ImageJ Interest Group <[log in to unmask]>
From:         Nick Linnenbrügger <[log in to unmask]>
Subject:      Accessing ROIs from ROI Manager

Dear Wayne, I would like to access ROIs stored in the ROI Manager from within a plugin. I've had a look at the code and it doesn't seem to be possible since the member variable 'rois' has friendly access. It would be useful, if such a possibility could be added to the 'RoiManager' class, e.g. by adding a getROIs() method. Then, one could use the ROI Manager similarly to the Window Manager. Also, it would be helpful if one could access the 'list' variable in order to be able to determine which ROIs are currently selected in the ROI Manager. This would introduce the ability to process an image based on several ROIs, e.g., analyzing a region enclosed by two concentric circles/ellipses (ring shape). Then, it would be very useful to have a function (e.g. in class 'ROI') that returns whether a point (x,y) lies within a particular ROI or not (maybe this is already available?). Also, it would be great if one could calculate masks (ROIs) that represent logic AND, OR, and XOR combinations of two ROIs (although this is probably a little more complicated). What do you think? Have you ever thought about allowing for rotated oval ROIs, i.e., oval ROIs with their principal axis not being parallel to the image borders? With kindest regards, Nick. -- | Nick Linnenbrügger | | Until June 25: | Department of Medical Engineering | Wake Forest University School of Medicine | Medical Center Boulevard | Winston-Salem, NC 27157-1093 | Phone: +1 336 716-2582 | | E-Mail: [log in to unmask] or [log in to unmask] | | PGP Fingerprint DH/DSS: | DF3F 5D2B 5BCF A360 11FA 8D73 BBE7 4E87 4114 19A6




Back to: Top of message | Previous page | Main IMAGEJ page

NIH LISTSERV Home Page

CIT
Center for Information Technology
National Institutes of Health
Bethesda, Maryland 20892
301 594 6248 (v) 301 496 8294 (TDD)
Comments and Assistance
Accessibility wheelchair icon