Question Bank
Question Bank
Question Bank
The City block distance between pixels p and q for the following image is
2 5 9(q) 1
1 1 0 2
5 4 3 1
1(p) 2 4 7
Set v ={0,1,5,9}
Draw the resultant image after quantized (4-bit) the input image as shown below:
16 15.1 12.3
11.9 0.6 2.5
9.9 4.4 13.2
What will be the total size( in Bytes) of an image having 1M pixels quantized with 16 bits
What will be the pixel values after application of the log transformation on an input image
having pixel values equal to 15 for an image region of 5 rows and 5 columns?
1 12 15 2 8 9 9 10
10 11 1 0 12 2 3 5
8 10 11 12 10 8 5 4
2 3 5 2 0 2 3 1
1 1 8 9 8 9 8 9
15 10 10 8 11 15 0 11
13 11 0 13 10 11 9 0
11 8 13 1 2 3 4 5
𝟑 𝟓 𝟑 11 18 1 3 5
a. 𝒀 𝒎, 𝒏 = 𝟗 𝟏𝟏 𝟔 b. 𝑌 𝑚, 𝑛 = 32 39 c.𝑌 𝑚, 𝑛 = 4 9 11
𝟏𝟓 𝟏𝟕 𝟗 53 60 7 15 17
The image Im(x,y) is uniformly quantized with 3-bits, what will be the image generated
after applying image negative operation on it?
7 7 7
𝐼𝑚 = 4 4 4
1 1 1
a. b. c.
1 1 1 𝟎 𝟎 𝟎 1 4 7
𝐼𝑚 = 4 4 4 𝑰𝒎 = 𝟑 𝟑 𝟑 𝐼𝑚 = 1 4 7
7 7 7 𝟔 𝟔 𝟔 1 4 7
What will be the median valued of the marked pixels shown in following figure using a 3X 3
mask?
18 22 33 25 32 24
𝐼 = 34 𝟏𝟐𝟖 𝟐𝟒 𝟏𝟕𝟐 𝟐𝟔 23
22 19 32 31 28 26
a. 24, 31,31,26 b. 33,32,31,23 c. 22,25,31,26
The Input image and corresponding unsharp mask is shown in following figures. How these
images will be used for obtaining the sharpen image?
a. Input image + b. Input image - c. Input image -
weighting fraction* weighting fraction* Unsharp mask
mask image mask image image
Let’s consider the 8-bit image is decomposed into 8 no. of bit planes. What will be effect of
higher order bit planes on the visual content of the input image?
a. Details are visible in b. Higher order bit c. Overall picture
higher order bit planes planes are information are
represented as gray found in higher
level values order bit planes
Sharpening is performed using which of the following operations for digital image?
a. spatial integration b. spatial c. spatial averaging
differentiation
The input image of 4X4 is shown below. Use histogram equalization technique on it and
select the correct equalized image (J) from the options.
I= [1 2 3 4; 5 5 6 1; 1 0 2 4;2 3 2 1]
a.J=[ 2 4 4 6; 7 7 7 2; 2 0 4 6; 4 4 b.J=[ 2 4 45; 6 6 7 2; 2 0 4 5; c. J=[ 2 4 5 6; 7 7 7 2; 2 0 4
4 2] 4 4 4 2] 6; 4 5 4 2]
Which colour has maximum wavelength in the Visible spectrum?
a.Violet b. Blue c. Red
The probability Distribution Function (PDF) for the Gaussian noise is
(𝒛−𝝁)𝟐 2 𝑎 𝑏 𝑧 𝑏 −1
𝟏 − b. 𝑃 𝑧 = − 𝑏 (𝑧 − c. 𝑃 𝑧 = − (𝑏−1)!
a. 𝑷 𝒛 = 𝟐
𝒆 𝟐𝝈𝟐
2
𝟐𝝅𝝈 (𝑧 −𝑎 )
𝑎)𝑒 − 𝑏
An operation used for conversion of input image into discrete Fourier transformed function
in Homomorphic filtering is?
a. Logarithmic function b. Exponential function c. Negative
transformation
The image shown in following figure is corrupted by periodic noise. Which filter is required
for removal of this noise?
1 4 2
The minimum D4 and D8 distances between the pixels I(1,1) and I(3,4) are I= [ 1 2 4 8; 2 6
4 2; 1 3 4 5; 2 2 1 5]
3,5 6,4 5,3
You have an image f(m,n). on taking two times the Fourier transform, the result will be
f(2m,2n) f(-m,-n) 1/2f(m,n)
what does the definition of entropy tell us?
the lower bound to the upper bound to the average number
encode a source without encode a source of bits to encode a
distortion without distortion source given a
certain distortion
The edge detector which uses non-maxima suppression to thin edges is the
Canny operator Sobel operator Roberts operator
The parameter that may change if all the pixels in an image are shuffled is
histogram covariance entropy
An example of a dictionary-based coding technique is
Huffman coding Predictive coding LZW coding
In an image compression system, 16384 bits are used to represent a 128 X 128 image with
256 gray levels. what is the compression ratio for this system?
4 8 12
What is the full form of DCT?
Discrete Cos Transform Discrete Cosine Digital Cosine
Transform Transform
the conversion between RGB and CMY colour model is given by
[ R ; G ; B] = [C; M; Y] [R ; G ; B] = [ 1; 1; 1 [R ; G ; B] = [ 2; 2; 2
]- [ C; M; Y ] ]- [ C; M; Y ]
A 2X2 iamge f(m,n) = [2 4; 6 8] is passed through the linear filter h(m,n)= 1/2 [0 0 0 ; 1 0 1;
0 0 0 ]. Then the resultant image is (assume zero padding )
[6 8 ; 2 4] [ 2 6; 4 8] [2 1 ; 4 3]
the colour model which is more relevant to a display system is the
CMY Model RGB Model HSI Model
The mask which can be used to perform smoothing operation of an input image is
[ 1 -1 1; 1 -1 1; 1 -1 1] [1 1 1 ; -1 -1 -1; 1 1 1 ] [1 1 1; 1 1 1; 1 1 1]
Below are the pixel values in a 5 X 5 gray-level image: [ 1 2 3 1 2; 4 5 2 3 3 ; 3 3 5 4 4 ; 1 3 2
3 5; 2 1 3 1 3]. What is the value of the 3rd row and 3rd column pixel after applying a 3 X 3
median filter?
2 4 3
A 4 X 4 image is given by [ 2 3 4 5; 1 2 4 6; 2 3 2 4; 1 5 7 6]. If this image is filtered by a Min
filter with a mask given below then the resultant image is (assume zero padding)
[0 0 0 0 ; 0 2 1 0 ; 0 4 2 0; 0 0 0 [ 0 0 0 0; 0 2 1 0; 0 3 2 0; 0 [0 0 0 0; 0 1 2 0 ; 0 2 3 0; 0
0] 0 0 0] 0 0 0]
For the image segment shown in Figure 1 below, apply the zooming algorithm for increase the size of
the image segment by the factor of 2. Use the nearest neighbor interpolation technique for assigning a
gray value to the new pixels.
8 7 6 0
1 2 3 5
3 4 6 8
8 5 1 0
Figure 1 : image segment of 4 * 4
What is the advantage of homomorphic filtering; explain with the help of suitable derivations.
Apply the high pass mask on the image shown in Figure 2. Conclude about the result.
20 20 20 20 20
20 30 30 20 30
20 30 30 20 30
20 30 30 20 30
20 20 20 20 30
Figure 2 : image segment of 5 * 5
Consider the binary image given in figure 3 below. Show the result of 3 * 3 median filtering if the
following masks are used. (A ‘zero’ in a mask position means that the corresponding pixel is not used
for median calculation).
1 1 1 0 1 0
(a) 1 1 1 ,(b) 1 1 1
1 1 1 0 1 0
For the image segment shown in Figure 1 below, apply the zooming algorithm for increase the size of
the image segment by the factor of 2. Use the nearest neighbor interpolation technique for assigning a
gray value to the new pixels.
8 7 6 0
1 2 3 5
3 4 6 8
8 5 1 0
Figure 1 : image segment of 4 * 4
------------------------OR------------------------
What is the advantage of homomorphic filtering; explain with the help of suitable derivations.
Apply the high pass mask on the image shown in Figure 2. Conclude about the result.
20 20 20 20 20
20 30 30 20 30
20 30 30 20 30
20 30 30 20 30
20 20 20 20 30
Figure 2 : image segment of 5 * 5
Consider the binary image given in figure 3 below. Show the result of 3 * 3 median filtering if the
following masks are used. (A ‘zero’ in a mask position means that the corresponding pixel is not used
for median calculation).
1 1 1 0 1 0
(b) 1 1 1 ,(b) 1 1 1
1 1 1 0 1 0
Explain the Wiener Filtering for image Restoration and discuss the problems associated with it. Also
discuss the remedy available in the form of Constrained Least Square Filtering Technique.
For the image segment shown in Figure 1 below, apply the zooming algorithm for increase the size of
the image segment by the factor of 2. Use the nearest neighbor interpolation technique for assigning a
gray value to the new pixels.
8 7 6 0
1 2 3 5
3 4 6 8
8 5 1 0
Figure 1 : image segment of 4 * 4
What is the advantage of homomorphic filtering; explain with the help of suitable derivations.
Apply the high pass mask on the image shown in Figure 2. Conclude about the result.
20 20 20 20 20
20 30 30 20 30
20 30 30 20 30
20 30 30 20 30
20 20 20 20 30
Figure 2 : image segment of 5 * 5
Explain spatial filtering technique in detail. Apply the box filter of size 3X3 on the input image shown
in Fig 1.
0 0 0 0 0 0
0 1 1 1 1 0
0 1 2 2 1 0
0 1 2 2 1 0
0 1 1 1 1 0
0 0 0 0 0 0
What do you mean by “Salt & Pepper” Noise? Explain the Median filtering in detail with suitable
example.
Compare median filtering and a low pass filtering on a noisy image. Which performs best (i.e. removal
of most noise with least blurring)? How? Explain with suitable example.
Explain the steps for Filtering of image in Frequency Domain. Perform Fourier Transform on the
following 2 X 2 image shown in Fig 2.
2 2
2 2
Explain the Wiener Filtering for image Restoration and discuss the problems associated with it. Also
discuss the remedy available in the form of Constrained Least Square Filtering Technique.
Apply the high pass mask (Laplacian operator of size 3X 3) on the image shown in Fig 3. Conclude
about the result.
20 20 20 20 20
20 30 30 30 20
20 30 60 30 20
20 30 30 30 20
20 20 20 20 20
Fig 3 : Image segment of 5 * 5
1. Define D4-Distance between two pixels P and Q of coordinates (x,y) and (s,t) respectively.
2. Show that an edge spatial filter is equivalent to subtracting the original image from its
smoothed image.
3. Compare median filtering and a low pass filtering on a noisy image. Which performs best (i.e.
removal of most noise with least blurring)? How?
4. Explain Rayleigh noise. Also mention its mean and variance with respect to the gray level of an
image.
Explain Interpolation techniques in detail with suitable example.
Explain bit-plane slicing in detail. (i) What would be the effect on the histogram if we set to zero the
lower-order bit planes? (ii)What would be the effect on the histogram if we set to zero the higher-
order bit planes instead?
The input image f(x,y) is passed through a linear shift-invariant system h(x,y). determine the output
image if f(x,y) and h(x,y) are given below:
12 10 8 4 1 2 1
1
f(x,y) = 8 14 6 9 And ℎ 𝑥, 𝑦 = 16
2 4 2
5 9 13 8 1 2 1
14 5 7 9
Assume zero padding of the original image.
For the given image patch shown in following figure, compute the 2D DFT for the image patch. Then
reconstruct the original image patch by neglecting the last two coefficients in 2D DFT. Comment on the
observed result.
12 4
5 10
Figure: 2 X 2 Image patch
For the input image shown, obtain the output image after application of (1) A 3X3 Median filter ,(2) A 3
X 3 Max filter
10 10 10 10 10 10 10
10 20 20 255 20 20 10
10 20 0 50 50 0 10
10 20 50 50 50 20 10
10 20 20 20 20 255 10
10 10 10 10 10 10 10
If the template T and the image I is defined as follows:
1 0 1 1 3 3
T= 0 1 I= 1 1 4 4
2 1 3 3
1 1 1 4
In a given application, an averaging mask is applied to input images to reduce noise and then a
Laplacian mask is applied to enhance small details. Would mathematics predict that the result should
be the same if the order of the operations were reversed?
Do the Following:
1) What is the value of the marked pixel after convolution with 3 X 3 point operator?
2) What is the value of the marked pixel after convolution with 3 X 3 horizontal line operator?
3) What is the value of the marked pixel after convolution with 3 X 3 operator for 45 degree line
detection?
4) What is the value of the marked pixel after convolution with 3 X 3 operator for 45 degree line
detection and thresholding with the maximum difference?
2 2 2 2 2
1 12 1 2 3
12 12 12 12 12
5 5 5 12 1
2 2 2 2 2
List down different types of noises which can be found in an image. How can we estimate mean and
variance of a noisy image? Explain the MMSE filter to remove the noise from the image.