Login  Register

Interacting with overlays

Posted by Rats on Oct 03, 2014; 4:42pm
URL: http://imagej.273.s1.nabble.com/Interacting-with-overlays-tp5009897.html

Hello All!

I'm exporting the outlines of objects from wand selections using interpolated FloatPolygons. This part works fine, and shows you what you're getting on the image as an overlay, but I'd like to be able to interact a little more with the overlay, dragging parts of it (individual ROIs) to new locations and having ImageJ recalculate the co-ordinate list.

Is it possible to use the mouse to drag around parts of an overlay without hunting through the ROI manager? And are there events I can use to call the sampling methods on releasing the overlay once I've dragged it into position?

Thanks in advance!