Posted by
Pang, Zhengyu (GE Global Research) on
Jan 17, 2008; 6:08pm
URL: http://imagej.273.s1.nabble.com/Logical-operation-on-ROIs-tp3697543p3697545.html
Jerome,
Thanks for your reply. I found that your method is good if I manaully
trace the ROI1 and ROI2.
In my case, I specified my ROI based on its grayscale value (pixel value
> threshold) "Image>Adjust>Threshold" and then use the function
"Edit/Selection/Create Selection". I could not follow what you
instructed. Is there anyway to get around this?
Thanks,
Zhengyu
-----Original Message-----
From: ImageJ Interest Group [mailto:
[hidden email]] On Behalf Of
Jerome Mutterer
Sent: Thursday, January 17, 2008 2:25 AM
To:
[hidden email]
Subject: Re: Logical operation on ROIs
Zhengyu,
You can trace ROI1, then keep the shift key down and trace ROI2. Now
invert the selection using Edit/Selection/Make Inverse.
In a macro, use the setKeyDown('shift'); function.
Jerome
On Jan 17, 2008 4:00 AM, Pang, Zhengyu (GE, Research)
<
[hidden email]>
wrote:
> Could I perform logical operation on ROIs? For example, If I have
> specified ROI1 and ROI2, could I define ROI3=whole image-ROI1-ROI2?
> And then perform necessary measurement on ROI3.
>
> Do I need to install some plugins to do it?
>
> Thanks!
>
> Zhengyu
> > g Global Research Center
> >
> > ____________________________________________________________________
> > __
> >
> > Zhengyu Pang, Ph.D.
> Bioanalytics and Protein Science Laboratory
> Biosciences Global Technology Organization
> > One Research Circle, K1 5B37A
> > Niskayuna, NY12309
> > *
[hidden email]
> > *(518) 387-4015
> >
> >
>