# Digital Image Processing Questions and Answers – Enhancement using Logic Operations

«
»

This set of Digital Image Processing Multiple Choice Questions & Answers (MCQs) focuses on “Enhancement using Logic Operations”.

1. Logic operations between two or more images are performed on pixel-by-pixel basis, except for one that is performed on a single image. Which one is that?
a) AND
b) OR
c) NOT
d) None of the mentioned

Explanation: Although all the Arithmetic/Logic operations between two or more images are performed on pixel-by-pixel basis, except for NOT that is performed on a single image.

2. Which of the following logical operator(s) is/are functionally complete?
a) AND
b) OR
c) NOT
d) All of the mentioned

Explanation: All the three logical operators given are functionally complete because all other logical operators can be implemented using these three.

3. While implementing logic operation on gray-scale images, the processing of pixel values is done as __________
a) String of integer numbers
b) String of floating numbers
c) String of binary numbers
d) None of the mentioned

Explanation: Logic operation on gray-scale images are done by processing of pixel values as string of binary numbers.
Note: Join free Sanfoundry classes at Telegram or Youtube

4. What is the equivalent for a black, 8-bit pixel to be processed under logic operation on gray scale image?
a) A string: 00000000
b) A string: 11111111
c) A string: 10000000
d) A string: 01111111

Explanation: Logic operation on gray-scale images are done by processing of pixel values as string of binary numbers, so, a black, 8-bit pixel is processed as a string of eight 0’s.

5. Which of the following operation(s) is/are equivalent to negative transformation?
a) AND
b) OR
c) NOT
d) All of the mentioned

Explanation: Applying NOT operator on a black, 8-bit pixel gives a white, 8-bit pixel, so, is equivalent to negative transformation.

6. Which of the following operations are used for masking?
a) AND, OR
b) AND, NOT
c) NOT, OR
d) All of the mentioned

Explanation: AND, OR operators are used for masking, while NOT works as negative transformation.

7. Two images having one pixel gray value 01010100 and 00000101 at the same location, are operated against AND operator. What would be the resultant pixel gray value at that location in the enhanced image?
a) 10100100
b) 11111011
c) 00000100
d) 01010101

Explanation: For AND operation results in 1 only for 1AND 1, else 0.
All the bits of the given gray value are operated similar resulting in 00000100.

8. Which of the following arithmetic operator is primarily used as a masking operator in enhancement?
b) Subtraction
c) Multiplication
d) Division

Explanation: Multiplication of one image by another is used as a gray-level mask.

Sanfoundry Global Education & Learning Series – Digital Image Processing.