Login  Register

Overlay and ROI

Posted by Philippe GENDRE on Nov 18, 2013; 9:15pm
URL: http://imagej.273.s1.nabble.com/Overlay-and-ROI-tp5005591.html

Dear List,

I need to retrieve the pixels of several ROIs in the same image and to
visualize these ROIs.

To do that, inside a loop, I draw several rectangles corresponding to each
ROI (using the rectangular selection tool for example) and  I use the
following lines to store the corresponding ROI and to visualize each of
them on the image which is a live stream  :

roi[i]=img.getRoi();
IJ.run("Add Selection...", "");

My question is how to change (to translate) the ROIs *and* their
corresponding overlay ?

Thanks for help.

Best regards,

Philippe

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