Posted by
Michael P Ellis on
May 04, 2011; 9:25am
URL: http://imagej.273.s1.nabble.com/ROI-in-ROI-tp3684702p3684703.html
Try the roiManager("XOR") command.
Here it is in an example script:
roiManager("reset")
newImage("Untitled", "8-bit Ramp", 400, 400, 1);
makeOval(100, 100, 200, 200);
roiManager("Add");
makeOval(175, 175, 50, 50);
roiManager("Add");
roiManager("XOR");
run("Clear", "slice");
Regards -- Michael Ellis
On 4 May 2011, at 09:30, flettster wrote:
> I have two circular rois in the ROi manager. One is inside the other making a
> donut.
>
> How can i make a single roi out of these 2 rois which represents the doh
> (excluding the hole)?
>
> I am sure this is easy but i cannot get it to happen
>
> Thanks in advance as always.
>
> Andy
>
> --
> View this message in context:
http://imagej.588099.n2.nabble.com/ROI-in-ROI-tp6330051p6330051.html> Sent from the ImageJ mailing list archive at Nabble.com.
--- Important Information----------------------
Our email address has changed. Please update your address books with '
[hidden email]'
We will be unveiling SmartCapture4 at the International Chromosome Conference. We hope you will be able to join and we're offering a 10% reduction the conference registration fee. Contact us for details.
Michael Ellis
Managing Director
Digital Scientific UK Ltd.
http://www.dsuk.biz[hidden email]
tel: +44(0)1223 329993
fax: +44(0)1223 370040
Sheraton House
Castle Park
Cambridge
CB3 0AX
The contents of this e-mail may be privileged and are confidential. It may not be disclosed to or used by anyone other than the addressee(s), nor copied in any way. If received in error, please advise the sender and delete it from your system.