Assignment_1

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

Image Processing and Pattern Analysis (CS 3242)

Assignment – 1
Last date to submit: 08/03/2024

Question 1. Explain the 4, 8 and m connectivity of pixels with the help of an example.
Question 2. An image segment is shown below. Let, V be the set of gray level values used to
define connectivity in the image. Compute D4, D8 and Dm distances between pixels ‘p’ and ‘q’
for:
(i) V = {2,3} (ii) V = {2,6}

Question 3. Perform Histogram equalization for an 8*8 image as shown below:

Gray 0 1 2 3 4 5 6 7
Level
No. of 8 10 12 15 6 4 10 8
Pixel

Question 4. Explain in detail RGB, CMY,HIS color models and also demonstrate relationship
among these models with an example.

Question 5. Calculate 4-point DFT for the sequence x(n)= {0,1,2,3} using matrix method.

Question.6 Explain the Fundamental Steps in Digital Image Processing?


Question 7 Perform histogram specification on the 8 x 8 image distributions shown in the
following tables:

Pk (no. of pixels) 8 10 10 2 12 16 4 2
Rk (gray levels) 0 1 2 3 4 5 6 7

The target histogram is shown in following table.

Pk (no. of pixels) 0 0 0 0 20 20 16 8
Rk (gray levels) 0 1 2 3 4 5 6 7

Question 8 Apply Contrast Stretching on the given Image.

6 5 5 5 7
5 4 4 4 7
5 4 4 6 7
5 5 4 5 5
6 5 5 5 6

Question 9 Following Image has size of 5 x 5 pixels, and its gray level varies from 0 to 7.

5 5 5 5 5
3 5 7 5 3
3 7 7 7 3
3 5 7 5 3
5 5 5 5 5
Perform histogram equalization of the image and obtain the final Image.

Question 10 Compute 2D DFT of the gray scale image given by


1 1 0 1
0 1 1 1
f(m,n)=
1 1 1 1
1 1 0 1

You might also like