Professional Documents
Culture Documents
Ece 1025: Digital Image Processing - 50 Marks - 2Hrs (10Am-12Pm)
Ece 1025: Digital Image Processing - 50 Marks - 2Hrs (10Am-12Pm)
Ece 1025: Digital Image Processing - 50 Marks - 2Hrs (10Am-12Pm)
Determine the Huffman code for the following. Calculate compression ratio.
For example: If your Roll No is 200310014 and mobile number is 8134068594 then the
NUMBERS/SYMBOLS in ascending order, and corresponding OCCURANCE/FREQUENCY is,
Sequence:
SYMBOL 0 1 2 3 4 5 6 8 9
FREQUENCY 5 3 1 2 3 1 1 2 1
Perform the Histogram equalization on the following sequence. Compare the histogram plots.
For example: If your mobile no. is 8134068594 and Parents mobile no. is 7002189964 then the
NUMBERS/SYMBOLS in ascending order, and corresponding OCCURANCE/FREQUENCY is,
Sequence: SYMBOL 0 1 2 3 4 5 6 7 8 9
FREQUENCY 3 2 1 1 3 1 2 1 3 3
(i) Derive the CMY transformations to generate the complement of a color image.
(ii) Consider a 3×3 RGB image of your choice (random pixel values without repetition), and
determine the corresponding HSI image.
The following two images are different possessing identical histogram. If the images are blurred
with 3×3 smoothening mask,
Consider the image-window given below (fig: Q6) and Show the result of
(i) averaging low-pass filtering,
(ii) high-pass filtering and
(iii) median and mode filtering
of the highlighted pixel by using the masks for the spatial domain
L1 L2 L3
L8 101 L4
L7 L6 L5
fig: Q6
Considers the position of first 8 letters, of your full name as the value of L,
i.e. L1=first letter, L2=second letter, L3=third letter, ……… L8=eight letter.
Consider the value of the letters in the order: A=01, B=02, C=03,……..,Y=25, Z=26
If your full name is smaller than 8 letters then consider 50, 51, 52….. sequentially in the remaining
position.
For example: If Name is: RIA DAS. Therefore,
18 9 1
POSITION L1 L2 L3 L4 L5 L6 L7 L8 Matrix:
NAME, LETTERS R I A D A S EMPTY1 EMPTY2 51 101 4
VALUE 18 09 01 04 01 19 50 51 50 19 1
Using the two 3×3 masks given, determine the magnitude and orientation of the local gradient
at all pixel positions of the 6×6 image, except the boundary pixels.
-1 0 1
0 1 2 0 4 5 -3 0 3
0 0 1 1 4 5 -1 0 1
0 2 0 4 5 4
0 0 5 4 6 6 -1 -3 -1
0 0 6 6 5 6 0 0 0
5 4 6 5 4 5 1 3 1
Indicate which pixels represent horizontal edge pixels (edgels) and which represent vertical.