Login  Register

Re: How does AND work?

Posted by Soriano.Joaquim on Oct 26, 2010; 11:00am
URL: http://imagej.273.s1.nabble.com/How-does-AND-work-tp3686552p3686557.html

Hi
AND Works exactly as you noted, but imagej interprets (after
thresholding) 0 as 0 and 1 as 255.
Make sure you threshold your images properly before running Booleans.
If one of your images (or both) are not binary, then AND may act as an
mathematic multiplication.
Wish this helps.

-----Mensaje original-----
De: ImageJ Interest Group [mailto:[hidden email]] En nombre de
Volker Wirth
Enviado el: martes, 26 de octubre de 2010 10:58
Para: [hidden email]
Asunto: How does AND work?

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

**NOTA DE CONFIDENCIALIDAD** Este correo electrónico, y en su caso los ficheros adjuntos, pueden contener información protegida para el uso exclusivo de su destinatario. Se prohíbe la distribución, reproducción o cualquier otro tipo de transmisión por parte de otra persona que no sea el destinatario. Si usted recibe por error este correo, se ruega comunicarlo al remitente y borrar el mensaje recibido.
**CONFIDENTIALITY NOTICE** This email communication and any attachments may contain confidential and privileged information for the sole use of the designated recipient named above. Distribution, reproduction or any other use of this transmission by any party other than the intended recipient is prohibited. If you are not the intended recipient please contact the sender and delete all copies.