Login  Register

Re: ROI in ROI?

Posted by Krs5 on May 05, 2011; 8:15am
URL: http://imagej.273.s1.nabble.com/ROI-in-ROI-tp3684702p3684707.html

Hi Andy

Would this solve your problem?

roiManager("Select", 0);
setKeyDown("alt");
roiManager("Select", 1);


Kees


Dr Ir K.R. Straatman
Senior Experimental Officer
Centre for Core Biotechnology Services
College of Medicine, Biological Sciences and Psychology
http://www.le.ac.uk/biochem/microscopy/home.html
ImageJ workshop 21 and 22 July 2011 see: http://www.le.ac.uk/biochem/microscopy/ImageJ2011.html

 

-----Original Message-----
From: ImageJ Interest Group [mailto:[hidden email]] On Behalf Of flettster
Sent: 04 May 2011 23:33
To: [hidden email]
Subject: Re: ROI in ROI?

Thanks

I have read the manual. It is very helpful but I still run into problems!

I cannot get it to work. here is my code:


roiManager("Select", 0);
setKeyDown("shift");
roiManager("Select", 1);
roiManager("XOR");

i get an error saying that more than one item needs to be selected or none.

(ihave updated to latest version of imagej)
Thanks

Andy

--
View this message in context: http://imagej.588099.n2.nabble.com/ROI-in-ROI-tp6330051p6332601.html
Sent from the ImageJ mailing list archive at Nabble.com.