Login  Register

Re: ROI manager

Posted by Douglas Benn-2 on May 30, 2011; 11:45pm
URL: http://imagej.273.s1.nabble.com/ROI-manager-tp3684427p3684429.html

Dear Norbert,

Great.

Thank you.

Douglas

Dr Douglas K Benn, BDS,DDS, M.Phil., Ph.D., Dipl. Dental Radiology (Royal College of Radiologists, England).
Professor and Director of Oral & Maxillofacial Radiology
Dept of General Dentistry
Creighton University Dental School
2802 Webster St, Boyne 210
Omaha
Nebraska 68178

Tel: (402)280 5025
Fax: (402)280 5094



-----Original Message-----
From: ImageJ Interest Group on behalf of Norbert Vischer
Sent: Mon 5/30/2011 6:21 PM
To: [hidden email]
Subject: Re: ROI manager
 
> I am trying to take an image mouse click x,y coordinates and testing to see if the coords are inside or outside a ROI.

Benn, see:

http://imagej.nih.gov/ij/macros//GetCursorLocDemo.txt

and:

selectionContains(x, y)
Returns true if the point x,y is inside the current selection. Aborts the macro if there is no selection. Requires 1.44g.

Norbert Vischer