macro to grade and digitize xrays

Posted by J.J. Trey Crisco on
URL: http://imagej.273.s1.nabble.com/macro-to-grade-and-digitize-xrays-tp5003970.html

I have gone through all the help I can find, but still stuck!  I have x-rays images from over 100 subjects.  I am trying to create a macro that I can send to various scorers.  I have successfully created code that will sort and identify images and presents dialog boxes for  scores.  Now, I want them to simply digitize 5 points on one of the uploaded images.  I want this to occur in the macro so I can save scores and xy coordinates.  

How do you  have the user digitize 5 points in the macro when prompted then collect the xy data?  

I try getCursorLoc, but its a continuous stream before the user clicks the points. I tried setting point and multipoint, create a dialog, but it doesn't allow the dialog to remain open while digitizing?  This must be so simple  but I am missing something

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