Login  Register

How does AND work?

Posted by wirthvolker on Oct 26, 2010; 8:58am
URL: http://imagej.273.s1.nabble.com/How-does-AND-work-tp3686552.html

Hi,
sorry to ask a (probably) stupid question, but I cannot find a helpful
text or figure it out myself - and it might help others who do not
dare to ask ;)

I have two images and would like to look at _co-localization_. So, my
idea was to use the _AND_ operator from the image calculator for this.
Now I realize, that I do not understand what it actually does, as it
takes a greyscale (I guess color makes it even more complicated) and
results in another greyscale image.

So far, I know only the Boolean conjunction, giving:
0 AND 0  =  0, 0 AND 1  =  0, 1 AND 0  =  0 and 1 AND 1  =  1

Is there anyone who can tell me what AND means in this context or
where I can read about it (and maybe the other calculator funcions,
too)? Any hint will be appreciated :)

Best regards,
Volker