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
View Answer

Answer: c
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
View Answer

Answer: d
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
View Answer

Answer: c
Explanation: Logic operation on gray-scale images are done by processing of pixel values as string of binary numbers.
advertisement
advertisement

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
View Answer

Answer: a
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
View Answer

Answer: c
Explanation: Applying NOT operator on a black, 8-bit pixel gives a white, 8-bit pixel, so, is equivalent to negative transformation.
Note: Join free Sanfoundry classes at Telegram or Youtube

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

Answer: c
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
View Answer

Answer: c
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?
a) Addition
b) Subtraction
c) Multiplication
d) Division
View Answer

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

Sanfoundry Global Education & Learning Series – Digital Image Processing.

advertisement

To practice all areas of Digital Image Processing, here is complete set of 1000+ Multiple Choice Questions and Answers.

If you find a mistake in question / option / answer, kindly take a screenshot and email to [email protected]

advertisement
advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.