Unit 6: Image Processing Using Python - Subjective Questions

CAP776 — Programming In Python • Practice Questions with Detailed Answers

20 questions

1

Define digital image processing. Explain how a digital image is represented in Python.

2

Explain image cropping and describe how an image can be cropped using Pillow.

3

What is image resizing? Explain the role of interpolation methods during resizing.

4

Describe image rotation. Explain how the coordinates of a point change when an image is rotated through an angle .

5

Distinguish between horizontal flipping, vertical flipping, and image rotation.

6

Explain brightness adjustment. How can brightness be increased or decreased mathematically and with Pillow?

7

What is contrast adjustment? Explain how it differs from brightness adjustment.

8

Explain color adjustment in a digital image. Describe saturation adjustment and grayscale conversion.

9

Define image filtering and explain the process of spatial convolution.

10

Compare mean blur, Gaussian blur, and median blur.

11

Explain image sharpening and describe the use of a sharpening kernel.

12

What is edge detection? Explain the working of Sobel edge detection.

13

Describe the main stages of the Canny edge detection algorithm.

14

Explain the basic procedure for reading, displaying, and saving an image using OpenCV.

15

What is Pillow? Describe basic image operations performed using the Image module.

16

Compare OpenCV and Pillow for image processing in Python.

17

Explain image modes and color-channel ordering. Why can color errors occur when images are exchanged between Pillow and OpenCV?

18

Describe a complete enhancement pipeline for a noisy, dark, and low-contrast image.

19

Write and explain an OpenCV-based procedure to crop, resize, flip, and rotate an image.

20

Discuss the factors that affect the quality of filtering and image enhancement operations.