Re: I would like to draw two circles
Posted by
John Minter on
Nov 19, 2014; 8:48pm
URL: http://imagej.273.s1.nabble.com/I-would-like-to-draw-two-circles-tp5010553p5010563.html
Avital,
This page (
http://cmci.embl.de/documents/120206pyip_cooking/python_imagej_cookbook#associating_multiple_rois)
by Kota Miura might help you. It is the Jython version, but you can see an
"or" operator and the ShapeRoi class...
Regards,
John
On Wed, Nov 19, 2014 at 2:52 PM, Avital Steinberg <
[hidden email]
> wrote:
> 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>
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html