Login  Register

I would like to draw two circles

Posted by Avital Steinberg on Nov 19, 2014; 7:52pm
URL: http://imagej.273.s1.nabble.com/I-would-like-to-draw-two-circles-tp5010553.html

Hi,
I am trying to draw two circles - they are supposed to be one ROI. My
problem is that the following code draws only one circle:

IJ.makeOval(50, 50, 50, 50);
IJ.setKeyDown(16);
IJ.makeOval(50, 100, 50, 50);
RoiManager rm = new RoiManager();
rm.addRoi(img.getRoi());

Is there a bug or am I doing something wrong?

Thanks,
Avital

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