200 likes | 359 Views
Computer Vision Course. In the supervisions of: DR Kamel Ali Arram Eng Lamiaa. 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.
E N D
Computer Vision Course In the supervisions of: DR\Kamel Ali Arram Eng\Lamiaa
Logic OperatorsX-OR,X-NOR & Bitshift Operators Prepared by EmadA.ElmotalebEqady.
INPUT vs OUTPUT INPUT Binary or Grey Level Image. OUTPUT Binary or Grey Level Image.
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.
Image 1 X-OR Or X-NOR New image image2
colered Image X-OR Or X-NOR colered Image2
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
INPUT vs OUTPUT INPUT Binary or Grey Level Image. OUTPUT Binary or Grey Level Image.