Download presentation

Presentation is loading. Please wait.

Published byKasey Levell Modified over 2 years ago

1
IN THE SUPERVISIONS OF: DR\KAMEL ALI ARRAM ENG\LAMIAA Computer Vision Course

2
Logic Operators X-OR,X-NOR & Bitshift Operators Prepared by Emad A.Elmotaleb Eqady.

3
Logical XOR/XNOR

4
INPUT vs OUTPUT INPUT Binary or Grey Level Image. OUTPUT Binary or Grey Level Image.

5

6
truth-tables

7
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.

8
image2 New image Image 1 X-OR Or X-NOR X-OR Or X-NOR

9
colered Image2 colered Image colered Image X-OR Or X-NOR X-OR Or X-NOR

10
New Image ?????????????

11
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.

12
How It Works Number of Bit

13
Example X-OR

14
Example cont X-OR

15
Invert/Logical NOT

16
INPUT vs OUTPUT INPUT Binary or Grey Level Image. OUTPUT Binary or Grey Level Image.

17

18
truth-table

19

20
Thank you

Similar presentations

© 2017 SlidePlayer.com Inc.

All rights reserved.

Ads by Google