Re: How does AND work?
Posted by
Stephan Saalfeld on
Oct 26, 2010; 9:30am
URL: http://imagej.273.s1.nabble.com/How-does-AND-work-tp3686552p3686558.html
To my knowledge, it does a bitwise AND (a&b) as executed in
http://pacific.mpi-cbg.de/cgi-bin/gitweb.cgi?p=ImageJA.git;a=blob;f=ij/process/ByteBlitter.java#l131which does not seem to make too much of a sense in your application(?)
What do you actually expect the operation to do for you?
Best,
Stephan
On Tue, 2010-10-26 at 10:58 +0200, Volker Wirth wrote:
> 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