IN THE SUPERVISIONS OF: DR\KAMEL ALI ARRAM ENG\LAMIAA Computer Vision Course
Logic Operators X-OR,X-NOR & Bitshift Operators Prepared by Emad A.Elmotaleb Eqady.
Logical XOR/XNOR
INPUT vs OUTPUT INPUT Binary or Grey Level Image. OUTPUT Binary or Grey Level Image.
truth-tables
X-OR vs X-NOR The XOR function is only true if just one (and only one) of the input values is true, and false otherwise. the output values of XNOR are simply the inverse of the corresponding output values of XOR.
image2 New image Image 1 X-OR Or X-NOR X-OR Or X-NOR
colered Image2 colered Image colered Image X-OR Or X-NOR X-OR Or X-NOR
New Image ?????????????
The XOR (and similarly the XNOR) operator typically takes two binary or graylevel image as input, and outputs a third image whose pixel value are just those of the first image, XORed with the corresponding pixels from the second.
How It Works Number of Bit
Example X-OR
Example cont X-OR
Invert/Logical NOT
INPUT vs OUTPUT INPUT Binary or Grey Level Image. OUTPUT Binary or Grey Level Image.
truth-table
Thank you