Professional Documents
Culture Documents
Assignment_1
Assignment_1
Assignment_1
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}
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.
Pk (no. of pixels) 8 10 10 2 12 16 4 2
Rk (gray levels) 0 1 2 3 4 5 6 7
Pk (no. of pixels) 0 0 0 0 20 20 16 8
Rk (gray levels) 0 1 2 3 4 5 6 7
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.