Dip Assignments Merged
Dip Assignments Merged
Assignment- Week 1
TYPE OF QUESTION: MCQ/MSQ
Number of questions: 10 Total mark: 10 X 2 = 20
______________________________________________________________________________
QUESTION 1:
In frequency domain, what is the equivalent operation of product of two functions in spatial
domain?
a) correlation
b) convolution
c) Fourier transform
d) fast Fourier transform
Correct Answer: b
Detailed Solution:
Correlation in frequency domain is the equivalent operation of product of two functions in spatial
domain.
____________________________________________________________________________
QUESTION 2:
An image depicts IIT Kharagpur’s main building on a rainy day of cyclone “Remal”. Removal of
rain streaks from the image is an example of__________
a) Image compression
b) Image restoration
c) Image enhancement
d) Image Analysis
The process of removal of rain streaks, fog or hailstorm for better visibility is an example of image
enhancement. Note the it is not image restoration since original image did not undergo corruption
or damage due to time or other physical elements (exposure of film negatives to sunlight or picture
getting torn and patched up by glue). Hence option c is correct.
______________________________________________________________________________
QUESTION 3:
A photograph, W inches in width and H inches in height was scanned at 1000 dpi. The scanned
image has a resolution of 100 pixels in width and 200 pixels in height What is the physical size of
the image.
a. W=0.1 inches, H=0.2 inches
b. W=0.2 inches, H=0.1 inches
c. W=0.1 inches, H=0.1 inches
d. Some information is missing
Correct Answer: a.
Detailed Solution:
QUESTION 4:
Area under unit impulse function,
∞, 𝑡𝑡 = 0
𝛿𝛿(𝑡𝑡) = � .
0, 𝑡𝑡 ≠ 0
is _______.
a) 1
b) undefined
c) infinity
d) 0
Correct Answer: a.
Detailed Solution:
∞, 𝑡𝑡 = 0
From the definition of unit impulse, 𝛿𝛿(𝑡𝑡) = � .
0, 𝑡𝑡 ≠ 0
QUESTION 5:
What is the number of bits required to store a 100 × 100 grayscale image with 256 gray levels?
a) 2560000
b) 10000
c) 80000
d) 240000
QUESTION 6:
+∞
What will be the value of delta function, ∫−∞ 𝑓𝑓(𝑡𝑡)𝛿𝛿(𝑡𝑡 − 2)𝑑𝑑𝑑𝑑 ?
a. Infinity
b. 𝑓𝑓(2)
c. 𝑓𝑓(𝑡𝑡 − 2)
d. 𝑓𝑓(0)
Correct Answer: b
Detailed Solution:
∞, 𝑡𝑡 = 0
𝛿𝛿(𝑡𝑡) = � . Using the time shifting property,
0, 𝑡𝑡 ≠ 0
∞, 𝑡𝑡 = 2
𝛿𝛿(𝑡𝑡 − 2) = �
0, 𝑡𝑡 ≠ 0
+∞
Therefore ∫−∞ 𝑓𝑓(𝑡𝑡)𝛿𝛿(𝑡𝑡 − 2)𝑑𝑑𝑑𝑑 samples value of 𝑓𝑓(𝑡𝑡) at t=2; 𝑓𝑓(2)
______________________________________________________________________________
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
QUESTION 7:
What is the purpose of using a low pass filter in image digitization?
a. Resizing
b. Sharpening
c. Sampled Signal recovery
d. None of the above
Correct Answer: c
Detailed Solution:
Low pass filter are used for image recovery from sampled signal
______________________________________________________________________________
QUESTION 8:
Choose the appropriate option depending on statements below:
Statement 1: Unit impulse function samples signal at multiple points
Statement 2: Comb function samples signal at a single point
Correct Answer: d
Detailed Solution:
Unit impulse function samples signal at single point, whereas Comb function samples signal at a
multiple points, see your notes
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
QUESTION 9:
Which of the following is not studied under Digital Image Processing?
a) Designing lens geometry and choosing lens material for least chromatic and
spatial aberrations
b) Applying spatial filters with fixed coefficients for Image enhancement
c) Transforming image based on its statistical properties
d) Applying frequency transforms to image for Image compression
Correct Answer: a
Detailed Solution:
The field of optimal lens geometry and lens material is generally studied under optical physics
and material sciences.
______________________________________________________________________________
QUESTION 10:
Choose the correct sequence of operations in Image Digitization
Refer to Notes
______________________________________________________________________________
************END*******
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
QUESTION 1:
Which of the following option is true?
Q
a) Q ∈ N4 (P)
b) Q ∈ N8 (P)
c) Q ∈ ND (P)
d) {Q} ⊄ {ND (P)} ∪ {N4 (P)} ∪ {ND (P)}
Correct Answer: d
Detailed Solution:
From the definition of 8-connectedness and diagonal connectedness, The relations, Q ∈ N4 (P)
, Q ∈ N8 (P)and Q ∈ ND (P) do not hold.
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
QUESTION 2:
5 5 5 5 5
5 5 5 5 5
Find the 2D convolution of the given matrices using zero padding. Input = 5 5 5 5 5
10 10 10 10 10
10 10 10 10 10
− 1 − 2 − 1
and kernel = 0 0 0 .
1 2 1
− 15 − 20 − 20 − 20 − 15
0
0 0 0 0
a) − 15 − 20 − 20 − 20 − 15
− 15 − 20 − 20 − 20 − 15
30 40 40 40 30
15 20 20 20 15
0
0 0 0 0
b) − 15 − 20 − 20 − 20 − 15
− 15 − 20 − 20 − 20 − 15
30 40 40 40 30
− 15 − 20 − 20 − 20 − 15
0
0 0 0 0
c) 15 20 20 20 15
15 20 20 20 15
− 30 − 40 − 40 − 40 − 30
− 15 − 20 − 20 − 20 − 15
0
0 0 0 0
d) − 15 − 20 − 20 − 20 − 15
− 15 − 20 − 20 − 20 − 15
− 30 − 40 − 40 − 40 − 30
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
− 15 − 20 − 20 − 20 − 15
0
0 0 0 0
Correct Answer: a. − 15 − 20 − 20 − 20 − 15
− 15 − 20 − 20 − 20 − 15
30 40 40 40 30
Detailed Solution:
For convolution, we have to do either time reversal of input image or the kernel. Let’s perform time
reversal of kernel and move the kernel on the input image.
5 5 5 5 5
5 5 5 5 5
1 2 1
Input image, I = 5 5 5 5 5 and time reversed kernel= 0
0 0
10 10 10 10 10 − 1 − 2 − 1
10 10 10 10 10
I(0,0) = 0x1 + 0x2 + 0x1 + 0x0 + 5x0 + 5x0 + 0x(-1) + 5x(-2) + 5x(-1) = -15
I(0,1) = 0x1 + 0x2 + 0x1 + 5x0 + 5x0 + 5x0 + 5x(-1) + 5x(-2) + 5x(-1) = -20
In this we move the time reversed kernel over the image I and finally obtain the convolved image
as
− 15 − 20 − 20 − 20 − 15
0
0 0 0 0
− 15 − 20 − 20 − 20 − 15
− 15 − 20 − 20 − 20 − 15
30 40 40 40 30
QUESTION 3:
Compute the Euclidean Distance (D1), City-block Distance (D2) and Chessboard distance (D3) for
points p and q, where p and q be (1, 2, 3) and (1, 5, 7) respectively. Give answer in the form (D1,
D2, D3).
a) (5, 3, 4)
b) (5, 4, 3)
c) (7, 5, 4)
d) (5, 7, 4)
Detailed Solution:
______________________________________________________________________________
QUESTION 4:
What is the minimum bandwidth required to transmit a grayscale image scanned at 100 PPI of size
3 𝑖𝑖𝑖𝑖𝑖𝑖ℎ𝑒𝑒𝑒𝑒 × 4 𝑖𝑖𝑖𝑖𝑖𝑖ℎ𝑒𝑒𝑒𝑒, with a data compression ratio of 8:1, over a communication channel in 0.5
seconds, given that each pixel is digitized using 8 bits?
Hint: Data compression ratio is defined as the ratio between the uncompressed size and compressed
size: Thus, a representation that compresses a file's storage size from 10 MB to 2 MB has a
compression ratio of 10/2 = 5/1
a) 3.84 Gbps
b) 1.92 Gbps
c) 1.48 Gbps
d) 5.12 Gbps
Correct Answer: a
Detailed Solution:
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
First we need to convert continuous signal into discrete signal by the process of sampling and then
digitize using digital bits.
Therefore, size of pixel at a rate of [(3 × 400) × (4 × 400)] × 8 𝑏𝑏𝑏𝑏𝑏𝑏𝑏𝑏 = 15.36 𝐺𝐺𝐺𝐺
Size of compressed data = Uncompressed data/Compression ratio = 15.36/8 = 1.92 𝐺𝐺𝐺𝐺
Bandwidth of Channel = 1.92/0.5 = 3.84 𝐺𝐺𝐺𝐺𝐺𝐺𝐺𝐺
____________________________________________________________________________
QUESTION 5:
Which of the following is always True?
a) Chessboard distance > City block distance > Euclidean
b) Chessboard distance < City block distance < Euclidean
c) Chessboard distance < Euclidean < City block distance
d) 𝑁𝑁𝑁𝑁𝑁𝑁𝑁𝑁 𝑜𝑜𝑜𝑜 𝑎𝑎𝑎𝑎𝑎𝑎𝑎𝑎𝑎𝑎
Correct Answer: d
Detailed Solution:
QUESTION 6:
Find the value of logical operation XOR for the binary images A and B (A XOR B). Assume 1 to
be foreground and 0 to be background pixels.
Image-A Image-B
Correct Answer: A.
Detailed Solution:
001
010
100
111
-------
QUESTION 7:
Perform only first pass of connected component labelling algorithm considering 4-connected
component labelling in following image and choose the correct option. (labelling starts from label
index=1)
1 1 1
1 1
1 1 1
a 1
4 4 4
4 4
4 4 4
3 3 3
3 3
3 3 3
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
4 5 6
7 8
9 10 11
d None of These
Correct Answer: a
Detailed Solution:
QUESTION 8:
Correct Answer: a
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
Detailed Solution:
______________________________________________________________________________
QUESTION 9:
Consider the following transformation matrix T:
αcosθ αsinθ 0
𝑇𝑇 = �−βsinθ βcosθ 0�
0 0 1
a) T rotates point clockwise by angle θ about x axis, scales x-axis by α and y-axis by β
b) T rotates point anticlockwise by angle θ about x axis, scales x-axis by α and y-axis by
β
c) T rotates point clockwise by angle θ about x axis, scales x-axis by β and y-axis by α
d) T rotates point anticlockwise by angle θ about x axis, scales x-axis by β and y-axis
by α
Correct Answer: a
Detailed Solution:
𝑇𝑇 = 𝑆𝑆 𝑅𝑅(θ)
= −θ
𝑆𝑆 = Scaling Matrix
α 0 0 cos(-θ) -sin(-θ) 0
𝑇𝑇 = � 0 β 0� � sin(-θ) cos(-θ) 0�
0 0 1 0 0 1
α 0 0 cosθ sinθ 0
𝑇𝑇 = � 0 β 0� �-sinθ cosθ 0�
0 0 1 0 0 1
______________________________________________________________________________
QUESTION 10:
An image sensor takes values between 1.0 and 11.0. If it is quantized by a uniform quantizer with
128 levels, what will be the transition (𝑡𝑡𝑘𝑘 ) and reconstruction level (𝑟𝑟𝑘𝑘 )?
10(𝑘𝑘+1) 5
a) 𝑡𝑡𝑘𝑘 = 128
, 𝑘𝑘 = 1,2,3, . . . . ,129; 𝑟𝑟𝑘𝑘 = 𝑡𝑡𝑘𝑘 + 128 , 𝑘𝑘 = 1,2,3, . . . . ,128
10(𝑘𝑘+1) 10
b) 𝑡𝑡𝑘𝑘 = 128
, 𝑘𝑘 = 1,2,3, . . . . ,129; 𝑟𝑟𝑘𝑘 = 𝑡𝑡𝑘𝑘 + 128 , 𝑘𝑘 = 1,2,3, . . . . ,128
10(𝑘𝑘−1) 5
c) 𝑡𝑡𝑘𝑘 = 128
, 𝑘𝑘 = 1,2,3, . . . . ,129; 𝑟𝑟𝑘𝑘 = 𝑡𝑡𝑘𝑘 + 128 , 𝑘𝑘 = 1,2,3, . . . . ,128
10(𝑘𝑘) 5
d) 𝑡𝑡𝑘𝑘 = 128
, 𝑘𝑘 = 1,2,3, . . . . ,129; 𝑟𝑟𝑘𝑘 = 𝑡𝑡𝑘𝑘 + 128 , 𝑘𝑘 = 1,2,3, . . . . ,128
Correct Answer: c
Detailed Solution:
Using the uniform quantizer design, transition and reconstruction levels can be defined as
10(𝑘𝑘−1) 5
𝑡𝑡𝑘𝑘 = 128 , 𝑘𝑘 = 1,2,3, . . . . ,129; 𝑟𝑟𝑘𝑘 = 𝑡𝑡𝑘𝑘 + 128 , 𝑘𝑘 = 1,2,3, . . . . ,128.
______________________________________________________________________________
______________________________________________________________________________
************END*******
Digital Image Processing
Assignment- Week 3
TYPE OF QUESTION: MCQ/MSQ
Number of questions: 10 Total mark: 10 X 1 = 10
______________________________________________________________________________
QUESTION 1:
The following figure shows an Original Image (Before transformation) in dotted lines and faded
colors and a transformed image in solid lines and dark colors. Choose the correct transformation
matrix
−1 0 0
a) � 0 −1 0�
0 0 1
1 0 0
b) �0 −1 0�
0 0 1
−1 0 0
c) � 0 1 0�
0 0 1
1 0 −1
d) �0 1 −1�
0 0 1
Correct Answer: a
Detailed Solution:
𝑚𝑚𝑚𝑚′ 𝑎𝑎 𝑏𝑏 𝑐𝑐 𝑥𝑥
�𝑚𝑚𝑚𝑚′� = �𝑑𝑑 𝑒𝑒 𝑓𝑓 � �𝑦𝑦�
𝑚𝑚 𝑔𝑔 ℎ 𝑖𝑖 1
Pixel location in Original (x,y) -> Pixel location in transformed Image (x’,y’)
(0,0) -> (0,0)
(1,0) -> (-1,0)
(0,1) -> (0, -1)
(1,1) -> (-1,-1)
Using above mappings and solving the equations yields
𝑚𝑚𝑚𝑚′ −𝑚𝑚 0 0 𝑥𝑥
�𝑚𝑚𝑚𝑚′� = � 0 −𝑚𝑚 0 � �𝑦𝑦�
𝑚𝑚 0 0 𝑚𝑚 1
____________________________________________________________________________
QUESTION 2:
Given 2 points a ,b in non-standard homogeneous coordinate system,
1 3
1 3
𝑎𝑎 = � � , 𝑏𝑏 = � �
1 3
1 3
select the correct statement
a) Point ‘a’ and ‘b’ gets projected to same point on image plane
b) A unique ray passes through point ‘a’, point ‘b’, center of projection (i.e. pinhole)
and intersects the image plane
c) Both a) and b)
d) Point ‘a’ and ‘b’ get projected to different points on image plane
Correct Answer: c
Detailed Solution:
1 3
1 3
𝑎𝑎 = � � , 𝑏𝑏 = � �
1 3
1 3
When written in standard homogeneous system coordinate system are
1 3/3 1
1 3/3 1
𝑎𝑎 = � � , 𝑏𝑏 = � �=� �
1 3/3 1
1 3/3 1
Thus both the point ‘a’ and ‘b’ are equivalent in standard homogeneous system coordinate system,
therefore there is a unique ray that passes through point ‘a’ and ‘b’ and intersects camera center,
projecting point ‘a’ and ‘b’ at same location on image plane.
______________________________________________________________________________
QUESTION 3:
How many cameras are required to find 3-D point using image coordinates of camera?
a) Atleast 1
b) Atleast 2
c) Atleast 3
d) Atleast 4
Correct Answer: b.
Detailed Solution:
A single camera provide us a ray in 3-D. So in order to find the corresponding 3-D point, we
require at least two cameras such that the intersection of these two rays (one from each camera)
gives us the 3-D point.
______________________________________________________________________________
QUESTION 4:
For a stereo pair, one camera is shifted along x-axis with respect to other. Imaging plane is XY
plane. If B is the baseline between the cameras, λ is the focal length, and ( x 2 − x1 ) is the disparity
along x-axis then which of the following is true?
λB
a) Z = B +
( x 2 − x1 )
λB
b) Y = λ −
( x 2 − x1 )
λB
c) Z = λ −
( x 2 − x1 )
λB
d) X = λ −
( x 2 − x1 )
Correct Answer: c.
Detailed Solution:
QUESTION 5:
Two identical cameras having focal length of 0.04m are used for stereo imaging. If the camera
displacement along X axis is 6.0 cm, left image point corresponding to a world point W is (0.2 mm,
0.4 mm) and the corresponding right image point is (0.4 mm, 0.4 mm), find out the 3-D location of
W with respect to a world coordinate system aligned with the coordinate system of the left camera.
For X and Y with respect to left camera, we use the following relations
𝑥𝑥0 𝑦𝑦0
𝑋𝑋 = (𝜆𝜆 − 𝑍𝑍) and 𝑌𝑌 = (𝜆𝜆 − 𝑍𝑍),
𝜆𝜆 𝜆𝜆
QUESTION 6:
Which of the following deals with the conversion of three-dimensional world co-ordinate to two
dimensional image?
a. Perspective Transfomation
b. Rotation
c. Linear Transformation
d. Non-linear mapping
Correct Answer: a
Detailed Solution:
Perspective Transfomation deals with the conversion of three dimensional world co-ordinate to two
dimensional image.
______________________________________________________________________________
QUESTION 7:
Which of the following is correct?
a) Only I
b) Only II
c) I and III
d) II and III
Correct Answer: b.
Detailed Solution:
Perspective transformation mapping of point a 3D world to point c in the image plane is not a one
to one mapping. Rather it is a many to one mapping because all the 3-D points that lies on the
straight line passing through imaging coordinate and camera center is imaged on same imaging
coordinates.
Geometrical transformations are matrix operations, product of two matrices is not always
commutative.
______________________________________________________________________________
QUESTION 8:
For a camera with focal length of 0.10, find out the locus of the points which will be imaged at
location (0.25, 0.5) on the Image plane. Assume the camera coordinate system and world
coordinate system to be perfectly aligned.
𝜆𝜆is focal length and (𝑥𝑥𝑜𝑜 , 𝑦𝑦𝑜𝑜 ) is image coordinates. Using these two equations we get,
X = 0.25 - 2.5Z, Y = 0.5 − 5Z
______________________________________________________________________________
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
QUESTION 9:
The following figure shows an Original Image (Before transformation) in dotted lines and faded
colors and a transformed image in solid lines and dark colors. Choose the correct transformation
matrix
cos 𝜙𝜙 −sin 𝜙𝜙 0
a) � sin 𝜙𝜙 cos 𝜙𝜙 0�
0 0 1
1 tan 𝜙𝜙 0
b) �0 1 0�
0 0 1
1 0 0
c) �tan 𝜙𝜙 1 0�
0 0 1
cos 𝜙𝜙 sin 𝜙𝜙 0
d) �−sin 𝜙𝜙 cos 𝜙𝜙 0�
0 0 1
Correct Answer: b
Detailed Solution:
𝑚𝑚𝑚𝑚′ 𝑎𝑎 𝑏𝑏 𝑐𝑐 𝑥𝑥
�𝑚𝑚𝑚𝑚′� = �𝑑𝑑 𝑒𝑒 𝑓𝑓 � �𝑦𝑦�
𝑚𝑚 𝑔𝑔 ℎ 𝑖𝑖 1
Pixel location in Original (x,y) -> Pixel location in transformed Image (x’,y’)
(0,0) -> (0,0)
(1,0) -> (1,0)
(0,1) -> (tan 𝜙𝜙, 1)
(1,1) -> (1+tan 𝜙𝜙,1)
Using above mappings and solving the equations yields
𝑚𝑚𝑚𝑚′ 𝑚𝑚 mtan 𝜙𝜙 0 𝑥𝑥
�𝑚𝑚𝑚𝑚′� = � 0 𝑚𝑚 0 � �𝑦𝑦�
𝑚𝑚 0 0 𝑚𝑚 1
QUESTION 10:
The following figure shows an Original Image (Before transformation) in dotted lines and faded
colors and a transformed image in solid lines and dark colors. Choose the correct transformation
matrix
cos 𝛹𝛹 −sin 𝛹𝛹 0
a) � sin 𝛹𝛹 cos 𝛹𝛹 0�
0 0 1
1 tan 𝛹𝛹 0
b) �0 1 0�
0 0 1
1 0 0
c) �tan 𝛹𝛹 1 0�
0 0 1
cos 𝛹𝛹 sin 𝛹𝛹 0
d) �−sin 𝛹𝛹 cos 𝛹𝛹 0�
0 0 1
Correct Answer: c
Detailed Solution:
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
𝑚𝑚𝑚𝑚′ 𝑎𝑎 𝑏𝑏 𝑐𝑐 𝑥𝑥
�𝑚𝑚𝑚𝑚′� = �𝑑𝑑 𝑒𝑒 𝑓𝑓 � �𝑦𝑦�
𝑚𝑚 𝑔𝑔 ℎ 𝑖𝑖 1
Pixel location in Original (x,y) -> Pixel location in transformed Image (x’,y’)
(0,0) -> (0,0)
(1,0) -> (1, tan 𝛹𝛹)
(0,1) -> (0,1)
(1,1) -> (1, 1+tan 𝛹𝛹)
Using above mappings and solving the equations yields
𝑚𝑚𝑚𝑚′ 𝑚𝑚 0 0 𝑥𝑥
�𝑚𝑚𝑚𝑚′� = �mtan 𝛹𝛹 𝑚𝑚 0 � �𝑦𝑦�
𝑚𝑚 0 0 𝑚𝑚 1
______________________________________________________________________________
************END*******
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
QUESTION 1:
A 9 x 9 image is as given below. Using a modified linear interpolation, find out the intensity at
location (3.3, 3.6).
Y 0 1 2 3 4 5 6 7 8
X
0 20 22 15 18 25 32 16 18 20
1 22 25 28 25 35 32 20 17 15
2 45 35 16 23 44 11 18 24 18
3 35 32 26 46 24 13 25 24 25
4 32 45 23 34 45 43 42 24 16
5 34 45 42 36 27 34 25 27 19
6 43 46 47 34 13 13 24 17 20
7 43 54 34 22 21 35 27 43 29
8 32 43 26 25 27 36 23 56 34
a) 32.42
b) 37.60
c) 35.14
d) None of the above
Correct Answer: c.
Detailed Solution:
Since we are doing interpolation in 2 dimension, we can convert this to one dimension by first
interpolation along the columns and then along a row.
As we are using linear interpolation, so the region of support would be two pixels (left-right or
top-bottom).
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
Here we first interpolate along columns to find the values of A and B. Using linear interpolation
equation,
t , 0 ≤ t <1
B0, 2 (t ) = 2 − t , 1 ≤ t < 2 , now for A we shift the peak at 3.3
0, otherwise
Substituting the values at t=3 and t= 4 (values are known at these locations) in proper
intervals, we get the coefficient (contribution) that has to be multiplied with intensity
values at location
t = 3 and t=4.
____________________________________________________________________________
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
QUESTION 2:
For the one-dimensional function f(t), given below. Using modified cubic interpolation, find out
the value at location t = 6.3.
T 1 2 3 4 5 6 7 8 9 10
f(t) 2.5 3.5 4 3.5 6 10 9 6 6 2.4
a) 9.32
b) 8.32
c) 9.42
d) 9.52
Correct Answer: c.
Detailed Solution:
t3
; 0 ≤ t <1
6
3 2
− 3t + 12t − 12t + 4 ; 1 ≤ t < 2
6
B0, 4 (t ) = 3 2
3t − 24t + 60t − 44
; 2≤t <3
6
4 − t 3
; 3≤t < 4
6
0; otherwise
Since we have to interpolate f(6.3), we can shift this function by 4.3 so that peak of cubic
function lie on 6.3. By doing this we get the contribution of known pixels for location t =
6.3.
The modified function can be written as,
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
(t − 4.3)3
; 4.3 ≤ t < 5.3
6
3 2
− 3(t − 4.3) + 12(t − 4.3) − 12(t − 4.3) + 4 ; 5.3 ≤ t < 6.3
6
B4.3, 4 (t ) = 3(t − 4.3)3 − 24(t − 4.3)2 + 60(t − 4.3) − 44
; 6.3 ≤ t < 7.3
6
4 − (t − 4.3) 3
; 7.3 ≤ t < 8.3
6
0; otherwise
Substituting the values at t=5,6,7 and 8 (values are known at these locations) in proper
intervals, we get the coefficient (contribution) that has to be multiplied with intensity
values at location,
t= 5,6,7,8.
(5 − 4.3)3
; 4.3 ≤ t < 5.3
6
3 2
− 3(6 − 4.3) + 12(6 − 4.3) − 12(6 − 4.3) + 4 ; 5.3 ≤ t < 6.3
6
B4.3, 4 (t ) = (
3 7 − 4.3) − 24(7 − 4.3)2 + 60(7 − 4.3) − 44
3
; 6.3 ≤ t < 7.3
6
4 − (8 − 4.3)3
; 7.3 ≤ t < 8.3
6
0; otherwise
On solving this, we get
0.0572; 4.3 ≤ t < 5.3
0.592 ; 5.3 ≤ t < 6.3
B4.3, 4 (t ) = 0.3482; 6.3 ≤ t < 7.3
0.0045 ; 7.3 ≤ t < 8.3
0; otherwise
Now f (6.3) = ∑ pi Bi −4.3, 4 (t ) = 0.05728 * 6 + 0.592 *10 + 0.3482 * 9 + 0.0045 * 6 = 9.42
______________________________________________________________________________
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
QUESTION 3:
For an image, the type of Interpolation where the intensity of the four neighboring pixels is used
to obtain intensity a new location is called __________________.
a) Bilinear interpolation
b) Cubic interpolation
c) Bicubic interpolation
d) Nearest neighbor interpolation
Correct Answer: a.
Detailed Solution:
Region of support for linear b-spline is two. But when we go for two dimensional interpolation
as in case of images, it will consider two pixels in horizontal direction and two pixels in vertical
direction.
______________________________________________________________________________
QUESTION 4:
Which of the following B-spline is not symmetric and hardly used?
a) Constant
b) Cubic
c) Linear
d) Quadratic
Correct Answer: d.
Detailed Solution:
Region of support for quadratic b-spline is 3 and it is asymmetric. Therefore, quadratic b-spline
is hardly used.
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
QUESTION 5:
A one-dimensional function f(x) is given below. What will be the value at location x = 5.5 using
modified constant interpolation.
X 1 2 3 4 5 6 7 8 9 10
f(x) 1.5 2.5 3 2.5 3 2.4 3 2.5 1 2.4
a) 2.43
b) 2.40
c) 2.34
d) 3.00
Correct Answer: b
Detailed Solution:
For constant interpolation, we substitute the unknown pixel value by nearest known pixel value.
For x=5.5, we consider B-Spline at x=6 since it includes 5.5 whereas B-Spline at x=5 excludes
x=5.5. Therefore f(5.5) = 2.40.
______________________________________________________________________________
QUESTION 6:
The type of Interpolation in which the intensity for an unknown location is found by assigning
the intensity of the nearest pixel is __________________.
a) Bicubic interpolation
b) Constant interpolation
c) Cubic interpolation
d) Bilinear interpolation
Correct Answer: b.
Detailed Solution:
Region of support for constant interpolation is one. So because of this it will look for a single
location which is nearest to it.
______________________________________________________________________________
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
QUESTION 7:
What are the desirable properties of an interpolation function?
I. Finite Region of Support.
II. Smooth Interpolation.
III. Shift Invariant
Correct Answer: d.
Detailed Solution:
Interpolation function must have finite region of support. Interpolation function should smooth
profile. Interpolation function must be shift invariant.
______________________________________________________________________________
QUESTION 8:
Zooming of an image can be viewed as __________________.
a) Over sampling
b) Under sampling
c) Critical sampling
d) Nyquist sampling
Correct Answer: a.
Detailed Solution:
Zooming of an image is basically estimating the sub-pixels and therefore can be viewed as
oversampling.
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
QUESTION 9:
What kind of sampling is required for scaling down (Shrinking) of an image?
a) Under sampling
b) Critical sampling
c) Over sampling
d) Nyquist sampling
Correct Answer: a
Detailed Solution:
Scaling down of an image is basically sampling less pixels, for example sampling every other
pixel will scale down image by 2. Therefore shrinking can be viewed as under sampling.
______________________________________________________________________________
QUESTION 10:
Which of the following B-spline function has maximum region of support?
a) Quadratic
b) Cubic
c) Linear
d) Constant
Correct Answer: b
Detailed Solution:
______________________________________________________________________________
************END*******
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
QUESTION 1:
Given two signals 𝑥𝑥[𝑛𝑛], 𝑦𝑦[𝑛𝑛] 𝑤𝑤ℎ𝑒𝑒𝑒𝑒𝑒𝑒 𝑛𝑛 ∈ {0,1,2, . . . 𝑁𝑁 − 1} and their DFT coefficients 𝑋𝑋[𝑘𝑘], 𝑌𝑌[𝑘𝑘]
𝑤𝑤ℎ𝑒𝑒𝑒𝑒𝑒𝑒 𝑘𝑘 ∈ {0,1,2, . . . 𝑁𝑁 − 1}. Taking inverse DFT of 𝑍𝑍[𝑘𝑘] = 𝑋𝑋[𝑘𝑘] × 𝑌𝑌[𝑘𝑘] is equivalent to
Detailed Solution:
QUESTION 2:
Determine the circular/cyclic convolution of two sequences x(n) = {1, 2, 3} and h(n) = {4, 5, 6}
a) y(n) = {9,12,10,4,1}
b) y(n) = {1,4,10,12,9}
c) y(n) = {31,31,28}
d) y(n) = {3,8,8}
Correct Answer: c
Detailed Solution:
QUESTION 3:
Which of the pair does form an Orthogonal Pair?
a. 𝑒𝑒 𝑗𝑗6𝜔𝜔𝜔𝜔 , 𝑒𝑒 𝑗𝑗2𝜔𝜔𝜔𝜔
b. 𝑠𝑠𝑠𝑠𝑠𝑠(2𝜋𝜋𝜋𝜋𝜋𝜋) , 𝑐𝑐os(4.5𝜋𝜋𝜋𝜋𝜋𝜋)
c. 𝑠𝑠𝑠𝑠𝑠𝑠(2.5𝜋𝜋𝜋𝜋𝜋𝜋) , 𝑐𝑐os(4𝜋𝜋𝜋𝜋𝜋𝜋)
d. All of the above
Correct Answer: a
Detailed Solution:
Only option a satisfy the orthogonality property of ∫𝑇𝑇 𝑓𝑓1 (𝑡𝑡) 𝑓𝑓2 (𝑡𝑡)𝑑𝑑𝑑𝑑 = 0 𝑎𝑎𝑎𝑎𝑎𝑎 ∫𝑇𝑇 𝑓𝑓1 (𝑡𝑡) 𝑓𝑓1 (𝑡𝑡)𝑑𝑑𝑑𝑑 =
𝑘𝑘 , ∫𝑇𝑇 𝑓𝑓2 (𝑡𝑡) 𝑓𝑓2 (𝑡𝑡)𝑑𝑑𝑑𝑑 = 𝑘𝑘
______________________________________________________________________________
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
QUESTION 4:
For a given 4 × 4 image 𝑈𝑈 and 4 × 4 transformation matrix 𝐴𝐴, What will be the transformed
image 𝑉𝑉?
1 1 1 1 1 1 1 1
1 1 −1 1 −1 2 2 2 2
𝐴𝐴 = � � 𝑈𝑈 = � �
2 1 1 −1 −1 3 3 3 3
1 −1 −1 1 4 4 4 4
10 −2 −4 0
0 0 0 0
a) � �
0 0 0 0
0 0 0 0
10 0 0 0
−2 0 0 0
b) � �
−4 0 0 0
0 0 0 0
10 −2 −4 0
−2 0 0 0
c) � �
−4 0 0 0
0 0 0 0
Correct Answer: b
Detailed Solution:
1 1 1 1 1 1 1 1 1 1 1 1
1 1 −1 1 −1 2 2 2 2 1 −1 1 −1
= � �� �� �
4 1 1 −1 −1 3 3 3 3 1 1 −1 −1
1 −1 −1 1 4 4 4 4 1 −1 −1 1
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
10 0 0 0
−2 0 0 0
=� �
−4 0 0 0
0 0 0 0
______________________________________________________________________________
QUESTION 5:
How does image transformation represent a given image?
a. A series summation of a set of Symmetric Matrices.
b. A series summation of a set of Unitary Matrices
c. A series summation of a set of Skew-Symmetric Matrices.
d. None of the above.
Correct Answer: b
Detailed Solution:
Any image can be expressed as a scaled summation of basis images which are unitary matrices.
(Just like a 1-D signal can be expressed in terms of basis vectors).
______________________________________________________________________________
QUESTION 6:
Which of the following relation is true for one-dimension Fourier transformation?
∞
a. 𝐹𝐹(𝑢𝑢) = ∫−∞ 𝑓𝑓(𝑥𝑥)𝑒𝑒 𝑗𝑗2𝜋𝜋𝜋𝜋𝜋𝜋 𝑑𝑑𝑑𝑑
∞
b. 𝐹𝐹(𝑢𝑢) = ∫−∞ 𝑓𝑓(𝑥𝑥)𝑒𝑒 −𝑗𝑗2𝜋𝜋𝜋𝜋𝜋𝜋 𝑑𝑑𝑑𝑑
∞
c. 𝐹𝐹(𝑢𝑢) = ∫0 𝑓𝑓(𝑥𝑥)𝑒𝑒 −𝑗𝑗2𝜋𝜋𝜋𝜋𝜋𝜋 𝑑𝑑𝑑𝑑
d. All of the above
Correct Answer: b.
Detailed Solution:
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
∞
𝐹𝐹(𝑢𝑢) = � 𝑓𝑓(𝑥𝑥)𝑒𝑒 −𝑗𝑗2𝜋𝜋𝜋𝜋𝜋𝜋 𝑑𝑑𝑑𝑑
−∞
______________________________________________________________________________
QUESTION 7:
What will be the Kronecker product 𝐴𝐴 ⊗ 𝐵𝐵 , Given matrices A,B below?
1 2 2 1
𝐴𝐴 = � � , 𝐵𝐵 = � �
3 4 1 2
2 4 1 2
6 8 3 4
a) � �
1 2 2 4
3 4 6 8
2 1 4 2
1 2 2 4
b) � �
2 1 4 2
1 2 2 4
1 2 4 3
3 4 2 1
c) � �
2 1 3 4
4 3 1 2
Apply the Kronecker delta product formula where matrix A replaces individual elements of A
scaled by a value determined by matrix A.
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
______________________________________________________________________________
QUESTION 8:
What will be the basis image A11 for a given 4 × 4 transformation matrix 𝐴𝐴?
1 1 1 1
1 1 −1 1 −1
𝐴𝐴 = � �
2 1 1 −1 −1
1 −1 −1 1
1 1 1 1
1 1 1 1 1
a) � �
4 1 1 1 1
1 1 1 1
1 −1 1 −1
1 1 −1 1 −1
b) � �
4 1 −1 1 −1
1 −1 1 −1
−1 −1 −1 −1
1 1 1 1 1
c) � �
4 1 1 1 1
1 1 1 1
1 −1 1 −1
1 −1 1 −1 1
d) � �
4 1 −1 1 −1
−1 1 −1 1
Correct Answer: d
Detailed Solution:
1 1 1 1
1 1 −1 1 −1
Basis images are calculated using the columns of𝐴𝐴∗𝑇𝑇 = � �,
2 1 1 −1 −1
1 −1 −1 1
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
1 1 −1 1 −1
1 −1 1−1 1 −1 1
𝐴𝐴11 = 𝑎𝑎1 𝑎𝑎1𝑇𝑇 = � � [1 −1 1 −1] = 4 � �
4 1 1 −1 1 −1
−1 −1 1 −1 1
______________________________________________________________________________
QUESTION 9:
This question has Statement 1 and Statement 2. Of the four choices given after the statements,
choose the one that best describes the two statements.
Statement1:The separability of orthogonal transformation matrix reduces the
computational complexity from 𝑂𝑂(𝑛𝑛4 ) 𝑡𝑡𝑡𝑡 𝑂𝑂(2𝑛𝑛3 )
Statement 2: Orthogonal transformation of Image can be thought of linear summation of
set of orthogonal basis images where coefficients of linear summation are estimated by
projecting image onto the orthogonal basis images.
Correct Answer: C
Detailed Solution:
QUESTION 10:
Which of the following can be used as a transformation matrix?
1 1 1 1
1 1 𝜔𝜔1 𝜔𝜔2 𝜔𝜔3
a) 𝐴𝐴 = � � ; 𝜔𝜔1 = 𝑒𝑒 −𝑗𝑗2𝜋𝜋/4
2 1 𝜔𝜔2 𝜔𝜔4 𝜔𝜔6
1 𝜔𝜔3 𝜔𝜔6 𝜔𝜔9
1 1 1 1
1 1 −1 −1
1
b) A =
2 2 − 2 0 0
0 0 − 2 2
1 1 1 1
1 1 −1 1 −1
c) 𝐴𝐴 = � �
2 1 1 −1 −1
1 −1 −1 1
d) All of above
Correct Answer: d
Detailed Solution:
For unitary matrix, all the columns must be orthonormal or orthogonal. Matrix in option a is DFT
basis, c is Hadamard basis, All a, b, c satisfy orthonormality condition
______________________________________________________________________________
************END*******
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
QUESTION 1:
Fourier transform is not distributive over multiplication. Please see class notes
____________________________________________________________________________
QUESTION 2:
Given that 𝑓𝑓(𝑥𝑥, 𝑦𝑦) 𝑎𝑎𝑎𝑎𝑎𝑎 𝑖𝑖𝑖𝑖𝑖𝑖 𝐷𝐷𝐷𝐷𝐷𝐷, 𝐹𝐹(𝑢𝑢, 𝑣𝑣)
Which of the following relation is used to display DFT coefficients properly.
2𝜋𝜋
a) 𝐹𝐹(𝑢𝑢 − 𝑢𝑢0 , 𝑣𝑣 − 𝑣𝑣0 ) ↔ 𝑓𝑓(𝑥𝑥, 𝑦𝑦)𝑒𝑒 − 𝑁𝑁 (𝑢𝑢0 𝑥𝑥+𝑣𝑣0 𝑦𝑦)
2𝜋𝜋
b) 𝑓𝑓(𝑥𝑥 − 𝑥𝑥0 , 𝑦𝑦 − 𝑦𝑦0 ) ↔ 𝐹𝐹(𝑢𝑢, 𝑣𝑣)𝑒𝑒 − 𝑁𝑁 (𝑢𝑢𝑢𝑢0 +𝑣𝑣𝑣𝑣0 )
c) 𝑎𝑎𝑎𝑎(𝑢𝑢, 𝑣𝑣) ↔ 𝑎𝑎𝑎𝑎(𝑥𝑥, 𝑦𝑦)
1 𝑢𝑢 𝑣𝑣
d)
|𝑎𝑎𝑎𝑎|
𝐹𝐹( , ) ↔ 𝑓𝑓(𝑎𝑎𝑎𝑎, 𝑏𝑏𝑏𝑏)
𝑎𝑎 𝑏𝑏
Correct Answer: a
Detailed Solution:
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
QUESTION 3:
Which of the following transformations preserves the signal strength (magnitude) of the data
a) Discrete Walsh Transform (DWT)
b) Discrete Fourier Transform (DFT)
c) KL Transform
d) All of the above
Correct Answer: d
Detailed Solution:
All unitary transforms preserve the signal strength (magnitude) of the data.
𝑦𝑦 = 𝐴𝐴𝐴𝐴; 𝐴𝐴 is transformation unitary matrix, x is data sample
Now Magnitude squared
‖𝑦𝑦‖22 = 𝑦𝑦 𝑇𝑇 𝑦𝑦 = (𝐴𝐴𝐴𝐴)𝑇𝑇 𝐴𝐴𝐴𝐴 = 𝑥𝑥 𝑇𝑇 𝐴𝐴𝑇𝑇 𝐴𝐴𝐴𝐴 = 𝑥𝑥 𝑇𝑇 𝐼𝐼𝐼𝐼 = 𝑥𝑥 𝑇𝑇 𝑥𝑥 = ‖𝑥𝑥‖22
QUESTION 4:
What is the time complexity of Fast Fourier Transform for an N -point Discrete Fourier Transform?
a) 𝑂𝑂(𝑁𝑁 2 )
b) 𝑂𝑂(𝑁𝑁 log10 𝑁𝑁)
c) 𝑂𝑂(𝑁𝑁 log 2 𝑁𝑁)
d) None of the above
Correct Answer: c
Detailed Solution:
There is a total of 𝑀𝑀 = log 2 𝑁𝑁 stages of computation, each requiring 3/2𝑁𝑁 complex operations.
Hence, the total computational complexity is 𝑂𝑂(𝑁𝑁 log 2 𝑁𝑁).
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
QUESTION 5:
Which of the following corresponds to 8x8 Hadamard matrix?
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 1 1 −1 −1 1⎥
a. ⎢
⎢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 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 −1 −1⎥
⎢ ⎥
1 −1 −1 −1 1 −1 −1 −1⎥
b. ⎢
⎢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 −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 1 1⎥
⎢ ⎥
1 −1 1 −1 1 −1 1 −1⎥
c. ⎢
⎢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 −1 1 −1 1 −1⎦
Correct Answer: a
Detailed Solution:
1 1 𝐻𝐻 𝐻𝐻𝑁𝑁
𝐻𝐻2 = � �and 𝐻𝐻2𝑁𝑁 = � 𝑁𝑁 �.
1 −1 𝐻𝐻𝑁𝑁 −𝐻𝐻𝑁𝑁
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
1 1 1 1 1 1 1 1
⎡1 −1 1 −1 1 −1 1 −1⎤
⎢
⎢1 1 −1 −1 1 1 −1 −1⎥⎥
Therefore, 𝐻𝐻8 = ⎢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 −1 −1 −1 1 1⎥
⎣1 −1 −1 1 −1 1 1 −1⎦
______________________________________________________________________________
QUESTION 6:
Which of the following recursive relation is used to obtain higher order Hadamared transform
kernels?
H N HN
a. H 2 N =
H N H N
H N H N
b. H 2 N =
H N − H N
H − HN
c. H 2 N = N
− H N H N
d. None of the above mentioned.
Correct Answer: b
Detailed Solution:
H HN
H2N = N is used to obtain higher order Hadamard transform kernels.
H N − H N
______________________________________________________________________________
QUESTION 7:
Considering the cost and complexity of hardware required, which of the following transforms is
generally preferred for real-time applications?
Correct Answer: a
Detailed Solution:
QUESTION 8:
Which of the following transforms have exactly same basis images as that of walsh transform
(ignore the order of basis images)?
a. Hadamard Transform
b. KL transform
c. DCT
d. Ordered Hadamard Transform
Correct Answer: d
Detailed Solution:
Ordered Hadamard Transform and walsh transform have same basis images, just in different
order
______________________________________________________________________________
QUESTION 9:
Imagine you have powerful servers with significant processing capabilities. You're looking for a
transform that can squeeze the most information out of data while efficiently representing it
with minimal loss. Which of the following transforms would be the best choice?
KL transform has highest energy compaction and representative power, thus when
computation is not an issue, KL transform is preferred over DCT and FFT for retrieval and
identification tasks
______________________________________________________________________________
QUESTION 10:
An application for compressing storage space of images uses CPU that has built it FPU - Floating
Point Unit (Hardware accelerated Sine, Cosine and exponentiation, floating numbers arithmetic,
etc.) which of the following transform is better suited for this application?
DCT is preferred for storage of images since it has high energy compaction while needing
moderate compute resources. Since the CPU has hardware accelerated Cosine function via.
FPU, DCT is most appropriate transform for this application.
KL transform has highest energy compaction, but it needs prohibitively high compute
requirements due to computation of eigenvectors ~𝑂𝑂(𝑛𝑛3 )
______________________________________________________________________________
************END*******
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
QUESTION 1:
Which of the following function cannot be a histogram equalization function.
a) f(x) = 3𝑥
b) f(x) = 5−𝑥
c) f(x) = 2x + 7
d) 𝑓(𝑥) = exp(𝑥)
Correct Answer: b
Detailed Solution:
________________________________________________________________
QUESTION 2:
Which process is used to correct the power-law response ?
a) Alpha Correction
b) Gamma correction
c) Luminance Correction
d) None of the above
Correct Answer: b
______________________________________________________________________________
QUESTION 3:
Log transformation is given by which formula
a) 𝑠 = 𝑐𝑙𝑜𝑔(|𝑟| − 1), where c is the scaling constant and r is the input intensity.
b) 𝑠 = 𝑙𝑜𝑔(1 − |𝑟|), where r is the input intensity.
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
Correct Answer: d.
________________________________________________________________
QUESTION 4:
Which of the following is TRUE, for power law transformation?
𝑇(𝑟) = 𝑐𝑟 𝛾
Where, 𝑐 and 𝛾 are positive constants and r is the input intensity
a) 𝛾 < 1 =>Narrow range of dark input values is mapped into wider range of values
and wide range of high intensity values is mapped into narrow range of values
b) 𝛾 > 1 =>Narrow range of dark input values is mapped into wider range of values
and wide range of high intensity values is mapped into narrow range of values
c) 𝛾 < 1 =>Narrow range of dark input values is mapped into narrow range of values
and wide range of high intensity values is mapped into wider range of values
Correct Answer: a.
Detailed Solution:
Using the gamma curve, we can say that 𝛾 < 1 =>Narrow range of dark input values is mapped
into wider range of values and wide range of high intensity values is mapped into narrow range
of values
______________________________________________________________________________
QUESTION 5:
For decoding a K L Transformed image at the receiver side, we require
a) Transformed image
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
b) Transformation matrix
c) Original Image
d) Both Transformed image and transformation matrix.
Correct Answer: d
Detailed Explanation: For decoding KL transformed image, we need both the transformed
image and transformation matrix at the decoder side.
______________________________________________________________________________
QUESTION 6:
Which of the following statement is (are) TRUE for KL Transform?
a) Only I
b) Only I, III
c) Only I, II, IV
d) Only I, II and III
Correct Answer: b.
Detailed Solution:
KL Transform kernel minimizes mean square error between 𝒙 and 𝒙 ̂, where 𝒙 is the original
̂ is the reconstructed vector. Also the transformation matrix uses statistical properties
vector and 𝒙
of data and therefore it is not fixed and requires to be transmitted to the receiver for inverse
transformation. No fast computational algorithms are available for its implementation.
QUESTION 7:
For the following vectors, find the transformation matrix A, for K-L transform
1 3 3 5
, , and ,
1 0 2 1
1 1 1
a) A
2 1 1
11 1
b) A 1 1
2
1 0
c) A
0 1
1 3 1
d) A
10 1 1
Correct Answer: c.
Detailed Solution:
1 12 3
4 4 1
Mean vector of the data =
2 4 0
M 1 2 0
0 0 0
0 0 0
M 2 0 1
1 0 1
0 0 0
M 3 0 1
1 0 1
2 4 0
M 4 2 0
0 0 0
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
M1 M 2 M 3 M 4 2 0
C
4 0 0.5
Using properties of eigen values,
1 2 and 2 0.5
Now for Eigen vectors CX X
2 0 x1 x
For 1 2 , 2 1 , on solving for x1 and x2 , we get x2 = 0. So eigen
0 0.5 x2 x2
vector can be
x1 1
x 0
2
Similarly for 2 0.5 , eigen vector can be
x1 0
x 1
2
Now we arrange these vectors as rows in decreasing values of corresponding eigen values to get
transformation kernel.
1 0
A
0 1
QUESTION 8:
Correct Answer: d.
Detailed Solution:
_______________________________________________________________________
QUESTION 9:
For the following vectors, find the transformation matrix A, for K-L transform.
1 2 3 4 5
, , , and .
6 7 8 9 10
a) 𝐴 = (1 1
)
1 −1
b) 𝐴 = (1 −1)
1 −1
c) 𝐴 = ( 1 1
)
−1 −1
Correct Answer: a.
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
Detailed Solution:
1 15 3
5 40 8
Mean vector of data =
2 4 4
M 1 2 2
2 4 4
1 1 1
M 2 1 1
1 1 1
0 0 0
M 3 0 0
0 0 0
1 1 1
M 4 1 1
1 1 1
2 4 4
M 5 2 2
2 4 4
M1 M 2 M 3 M 4 M 5 2 2
C
5 2 2
1 4 and 2 0
2 2 x1 x
For 4 , 4 1 , on solving for x1 and x2 , we get
2 2 x2 x2
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
x1 1
x 1
2
2 2 x1 x
For 0 , 0 1 , on solving for x1 and x2 , we get
2 2 x2 x2
x1 1
x 1
2
Now we arrange these vectors as rows in decreasing values of corresponding eigen values to get
transformation kernel.
1 1
𝐴 =( )
1 −1
QUESTION 10:
Which of the following are true about Image Negative in image enhancement operation?
a) Only I
b) Only II
c) Only I and III
d) I, II and III
Correct Answer: c.
Detailed Solution:
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
************END*******
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
QUESTION 1:
a) Contrast Adjustment
b) Edge detection
c) Image Averaging
Correct Answer: b.
Detailed Solution:
Laplacian operator is a second order difference operator and therefore can be used in edge
detection.
QUESTION 2:
b) Laplacian
c) Sobel
Correct Answer: c.
Detailed Solution:
− 1 0 1
Sobel operator − 2 0 2 is first order difference.
− 1 0 1
QUESTION 3:
The images shown below (a & b) are quite different, but their histograms are the same. Suppose
that each image is blurred with a 3x3 averaging mask. Which of the following is (are) true?
c) Histograms of the blurred images will change but they will be identical.
Correct Answer: b.
Detailed Solution: Figure (b) has more edge pixels than figure (a). So after blurring, there
are more pixels in figure (b) whose intensity values will change in comparison to that of
figure (a). Therefore, histograms of the blurred images will be different from each other.
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
QUESTION 4:
1 1 1
a) 1 − 8 1
1 1 1
1 2 1
b) 2 4 2
1 2 1
0 1 0
1
c) 1 2 1
6
0 1 0
d) None of the above.
Correct Answer: c.
Detailed Solution:
1 1 1
1 − 8 1 is suitable for edge detection. Difference operator is present.
1 1 1
1 2 1
2 4 2 is not normalized properly.
1 2 1
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
0 1 0
1
1 2 1 is suitable for smoothing. Hence option c is correct.
6
0 1 0
______________________________________________________________________________
QUESTION 5:
b) Robust to noise.
d) Both a and c.
Correct Answer: d.
Detailed Solution:
Second order derivative will have zero response along ramp of constant slope.
QUESTION 6:
An image has the gray level Probability Distribution Function (PDF - or gray level histogram
normalised by number of pixels) of Pr(r) shown below.
Find the pixel transformation y = g(r) such that after transformation the image has a flat PDF, i.e.
which accomplishes histogram equalisation. Assume continuous variables r,y.
a. 2 − 𝑟𝑟
b. 2 − 2𝑟𝑟
c. 2𝑟𝑟 − 𝑟𝑟 2
d. −𝑟𝑟 2
Correct Answer: c
Detailed Solution:
We know the required transfer function is the cumulative probability distribution of Pr(r).
Here, Pr(𝑟𝑟) = 2 − 2𝑟𝑟
𝑟𝑟 1
Hence, 𝑦𝑦 = 𝑔𝑔(𝑟𝑟) = ∫0 𝑝𝑝𝜏𝜏 (𝜏𝜏). 𝑑𝑑𝑑𝑑/ ∫0 𝑝𝑝𝜏𝜏 (𝜏𝜏). 𝑑𝑑𝑑𝑑
So, y(𝑟𝑟) = 2𝑟𝑟 − 𝑟𝑟 2
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
QUESTION 7:
1 2 1
a) 0 0 0
− 1 − 2 − 1
1 0 − 1
b) 2 0 − 2
1 0 − 1
c) Both a and b
Correct Answer: a.
Detailed Solution:
1 2 1
0
0 0 is vertical Sobel operator which does a averaging in horizontal direction
− 1 − 2 − 1
and difference operator in vertical direction. Therefore it can be used to detect horizontal
edge in an image.
QUESTION 8:
Do histogram equalisation on the following image which has 6 discrete pixel levels (0 - 5),
transforming it into a histogram equalised image also with 6 discrete grey levels in the range (0-
5).
4 1 3 2
3 1 1 1
� �
0 1 5 2
1 1 2 2
a) 5 3 4 4
4 3 3 3
� �
1 3 5 4
3 3 4 4
b) 3 3 5 4
4 3 2 3
� �
3 3 2 4
3 1 1 1
c) 4 3 2 2
5 3 3 1
� �
1 3 5 4
3 3 5 5
d) None of the above
Correct Answer: b.
Detailed Solution:
𝑠𝑠−𝑠𝑠
𝑠𝑠 ′ = 𝐼𝐼𝐼𝐼𝐼𝐼 ��𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠 𝑚𝑚𝑚𝑚𝑚𝑚 ()� ∗ 5 + 0.5�
𝑚𝑚𝑚𝑚𝑚𝑚
5 3 4 4
4 3 3 3
Using transformation from above table, we get the equalized image as � �
1 3 5 4
3 3 4 4
Hence option a is correct.
_____________________________________________________________________________
QUESTION 9:
Consider an 8-bit grayscale image with 256 possible gray levels (0 to 255). If a certain gray level
'i' in the image has a normalized CDF of 0.5, what is the corresponding equalized gray level?
a. 127
b. 128
c. 129
d. 130
Correct Answer: b
Detailed Solution:
normalized CDF of 0.5
Answer: B
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
QUESTION 10:
a) Only I
b) Only I and II
c) Only I and III
d) All I, II and III
Correct Answer: d.
Detailed Solution:
Histogram is basically the probability distribution of intensity values in an image. It does not
capture any spatial correlation of intensity values but it captures the global appearance of an
image. Also two images may have same histogram even if they look different i.e. having
different local appearance but because of same distribution of intensity values considering the
entire image.
************END*******
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
QUESTION 1:
In which of the following filter, the intensity at a particular point in the image, is a product of two
terms, one is the illumination term, other one is the reflectance term ?
a) Laplacian filter
c) Gaussian filter
d) Homomorphic filter
Correct Answer: d.
Detailed Solution:
In homomorphic filter, the intensity at a particular point in the image, is a product of two terms,
one is the illumination term, another one is the reflectance term is assumed.
QUESTION 2:
a) I, II
b) I, III
c) I, IV
d) I, II, III
Correct Answer: c.
Detailed Solution:
Since there is no abrupt change in frequency response of Gaussian low pass filter and low order
Butterworth filter, hence no ringing effect.
QUESTION 3:
1
The following equation corresponds to a filter, H(u, v) = D 2n
1+ � o �
D(u,v)
d) None of these
Correct Answer: a.
Detailed Solution:
Given filter characteristics represents Butterworth low pass filter. Higher order Butterworth
characteristics approaches to ideal low pass filter and there is abrupt change in frequency response,
hence ringing effect is observed.
QUESTION 4:
In case of inverse filtering, if the cut off frequency is significantly high then which of the following
is true?
a) Restored image becomes blurry
d) None of these
Correct Answer: c.
Detailed Solution: The reconstructed image in inverse filtering is given as
N (u, v)
Fˆ (u , v) = F (u, v) + , where F (u , v) is original image, N (u , v) is noise and H (u , v) is the
H (u, v)
degradation function.
It is assumed the image is low frequency signal and noise is high frequency signal, now if cut off
N (u , v)
frequency is significantly high then becomes higher and Noise in restored image
H (u , v)
dominates
______________________________________________________________________________
QUESTION 5:
A function is linear position invariant if it satisfies _________
a) Superposition theorem
b) Position invariance
c) Both a and b
d) None of the above mentioned
Correct Answer: c.
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
Detailed Solution:
A function is linear position invariant if it satisfies superposition principle and position invariance.
QUESTION 6:
a. 𝑥𝑥 = 𝑡𝑡2 + 5
b. 𝑥𝑥 = 2𝑡𝑡 3 + 3
𝑑𝑑𝑑𝑑(𝑧𝑧)
c. 𝑥𝑥(𝑧𝑧) =
𝑑𝑑𝑑𝑑
d. All of above
Correct Answer: c
______________________________________________________________________________
QUESTION 7:
a. 𝑦𝑦(𝑛𝑛) = 𝑛𝑛 𝑥𝑥(𝑛𝑛)
b. 𝑦𝑦(𝑛𝑛) = 𝑥𝑥 2 (𝑛𝑛)
c. 𝑦𝑦(𝑛𝑛) = 0.5(𝑥𝑥(𝑛𝑛) + 𝑥𝑥(𝑛𝑛 − 1))
d. All of above
Correct Answer: c
Detailed Explanation: Averaging function satisfy both additivity and homogeneity property.
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
QUESTION 8:
a) Image restoration
b) Image enhancement
c) Both a and b
Correct Answer: a.
Detailed Solution:
In case of image enhancement or simple noise filtering, we do not make use of any of the
degradation model or we do not bother about what is the process which is degrading the image.
Whereas in case of image restoration, we talk about the degradation model, we try to estimate the
model that has degraded the image and using that model we apply the inverse process and try to
restore the image.
QUESTION 9:
− D 2 ( u ,v ) / 2 Do2
b) H (u , v) = 1 − e
1 if D(u,v) ≤ D0
c) H (u , v) =
0 if D(u,v) > D0
d) None of these
Correct Answer: a.
Detailed Solution:
− D 2 ( u ,v ) / 2 Do2
Gaussian low pass filter is given as H (u , v) = e .
QUESTION 10:
Correct Answer: b.
Detailed Solution:
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
For solving exactly f(x, y) = H −1 (g(x, y) − η(x, y)) and the number of variables would very large
(of the size of the image) and difficult to reconstruct using this relation. Consequently, in image
restoration, we never know the exact degradation function.
Appropriate mathematical modeling for degradation can take into account environmental
conditions that cause degradation.
************END*******
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
QUESTION 1:
Statement 1: The drawback of Wiener filter is that constant approximation of a ratio of power
spectra is not always suitable
Statement 2: In constraint least square filtering using Iterative Selection of Gamma requires
knowledge of mean and variance of noise
Correct Answer: b.
Detailed Solution:
In Wiener filter is that constant approximation of a ratio of power spectra is not always suitable.
Constraint least square filtering requires noise parameter estimation for iterative search of
Gamma.
QUESTION 2:
Which of the following the most suitable metric for match or mismatch measure in template
matching?
a) Sum of squared difference.
b) Cross co-relation
c) Normalised cross-correlation
d) None of these
Correct Answer: c.
Detailed Solution:
Normalized cross correlation is the most suitable metric for match or mismatch measure in
template matching as it normalizes the correlation with the matching image window pixels.
______________________________________________________________________________
QUESTION 3:
In which of the following application(s), image registration is used.
a) Template Matching
b) Mosaicing
c) Image Fusion
d) All of these
Correct Answer: d.
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
Detailed Solution:
Template matching, mosaicking, image fusion are all application of image registration as
these requires some sort of matching and alignment between images.
QUESTION 4:
1 H (u , v
2
Fˆ (u , v) = G (u , v)
H (u , v) H (u , v 2 + S n (u , v)
S f (u , v)
Where, 𝑆𝑆𝑓𝑓 (𝑢𝑢, 𝑣𝑣) is Power Spectrum of Original Image, 𝑆𝑆𝑛𝑛 (𝑢𝑢, 𝑣𝑣) is Noise Power
Spectrum, 𝐻𝐻(𝑢𝑢, 𝑣𝑣) is degradation function. The Wiener Filter is equal to the Inverse filter when
Correct Answer: b.
Detailed Solution:
2
∧ 1 H ( u, v )
F ( u, v ) = . G ( u , v ) , then it becomes
H ( u , v ) H ( u , v ) 2 + Sη (u , v)
Sf ( u , v )
∧ 1
F ( u, v ) = G ( u , v ) , which is nothing but inverse filtering.
H ( u, v )
Hence option b is correct.
______________________________________________________________________________
QUESTION 5:
b) Weiner filtering
c) Inverse filtering
d) All of these
Correct Answer: a.
Detailed Solution:
Noise parameter estimation is required for image restoration using constrained least square
filtering.
QUESTION 6:
In Minimum Mean Square Error Filtering, which of the following is/are true?
I. Both the degradation function and statistical characteristics of noise are considered for
restoration.
II. Both the image and noise are considered as random processes and objective is to find an
estimate.
a) Only I
b) Only II
c) Both I and II
d) None of the above mentioned.
Correct Answer: c.
Detailed Solution:
Both the degradation function and statistical characteristics of noise are considered for
restoration.
Both the image and noise are considered as random processes and objective is to find an
estimate.
_____________________________________________________________________________
QUESTION 7:
The advantage of the Wiener filter over Inverse Filter is due to which of the following options?
a) Transfer function of Wiener Filter is chosen to minimise the mean square error
using statistical information of only image fields.
b) Transfer function of Wiener Filter is chosen to minimise the mean square error
using statistical information of only noise fields.
c) Transfer function of Wiener Filter is chosen to minimise the mean square error
using statistical information of both image and noise fields.
d) None of the above
Correct Answer: c.
Detailed Solution:
Transfer function of Wiener Filter is chosen to minimise the mean square error using statistical
information of both image and noise fields.
QUESTION 8:
For image registration of two images, minimum point correspondences are required to establish
pixel relations of an object?
a) 8
b) 2
c) 6
d) 4
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
Correct Answer: d.
Detailed Solution:
Let (x', y') be pixel coordinates in one image and (x, y) pixel coordinates in other image. These are
related as x' = k1x+k2y+k3xy+k4 and y' = k4x+k6y+k7xy+k8.
We have 8 unknowns and each correspondence pair gives us two equations. So we require at least
4 point correspondence.
______________________________________________________________________________
QUESTION 9:
Which of the following filter can be used for remove noise from image given below? (Noisy
image given in the left side and original noise free image is given in the right side.)
Correct Answer: d.
Detailed Solution:
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
The given image is corrupted via periodic noise. In case of periodic noise, we have
significantly higher response at frequencies equal to the frequency of the periodic noise and
these can be eliminated with the help of a band reject filter.
______________________________________________________________________________
QUESTION 10:
Assume the degradation model for atmospheric turbulence is defined in frequency domain as
2 2
H (u , v) = e − K (u +v )5 / 6 . If the value of K is decreased, then atmospheric turbulence __________.
a) Decreases
b) Remains constant
c) Increases
d) None of these
Correct Answer: a.
Detailed Solution:
************END*******
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
QUESTION 1:
If Red, Green, and Blue have values 0, 150 and 150 respectively then its corresponding values in
HSI are
a. H = π , S = 0 and I = 100
b. H = 0 , S = 1 and I = 100
c. H = π , S = 1 and I = 100
Correct Answer: c.
Detailed Solution:
θ if B ≤ G ( R − G ) + ( R − B)
H = , where θ = cos −1 ,
360 − θ if B > G 2 ( R − G ) 2 + ( R − B)(G − B)
(0 − 150) + (0 − 150)
θ = cos −1 = π; H = π
2 (0 − 150) 2 + (0 − 150)(150 − 150)
3
S = 1− [min( R, G, B)] = 1 − 0 = 1
R+G+ B 300
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
R + G + B 0 + 150 + 150
I= = = 100
3 3
Hence option c is correct.
____________________________________________________________________________
QUESTION 2:
a. Inside
b. Outside
c. On boundaries
Correct Answer: c.
Detailed Solution:
Following chromaticity diagram, spectrum colors are present at boundaries because these are pure
colors.
Hence option c is correct.
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
______________________________________________________________________________
QUESTION 3:
I. Hue (i) 0 - 2π
II. Saturation (ii) 0 – 255
III. Intensity (iii) 0 – 1
d) None of these
Correct Answer: b.
Detailed Solution:
Hue is angle measured from the red color axis in anticlockwise direction, in the color hexagon and
it lies in the range 0 to 2π. Intensity ranges from 0 to 255 and saturation can be 0 to 1 or 1 to 255
depending on the normalization.
______________________________________________________________________________
QUESTION 4:
Which of the following color models is suitable from perception point of view?
a) RGB
b) CMYK
c) HSI
Correct Answer: c.
Detailed Solution:
QUESTION 5:
Range of saturation in HSI model is _________________
a. 0 – 255
b. 0 – 2π
c. 0–π
d. 0-1
Correct Answer: d.
Detailed Solution:
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
Using the RGB to HSI color conversion relation, for saturation we have
3
S = 1− [min( R, G, B)],
R+G+ B
It is maximum when at least one R, G and B is zero, then S=1.
QUESTION 6:
If Red, Green, and Blue have values 100, 50 and 100 respectively then its corresponding
normalized values in CMY are
Correct Answer: b
Detailed Solution:
C 1 R
M= 1 − G
Y 1 B 𝐶𝐶 1 0.4
, �𝑀𝑀� = �1� − �0.2�,
𝑌𝑌 1 0.4
C = 0.6, M = 0.8 and Y= 0.6
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
QUESTION 7:
Which of the following expression is correct for conversion of RGB values to saturation of HSI
model?
3
a) S = 1 − [max(R, G, B)]
R+G+ B
3
b) S = 1 + [min( R, G, B)]
R+G+ B
3
c) S = 1 − [min( R, G, B)]
R+G + B
d) None of these
Correct Answer: c.
Detailed Solution:
Using the RGB to HSI color conversion relation, for saturation we have
3
S = 1− [min( R, G, B)]
R+G + B
______________________________________________________________________________
QUESTION 8:
In the RGB space given below, which of following point indicates white color?
a. A
b. B
c. C
d. D
Correct Answer: D
______________________________________________________________________________
QUESTION 9:
If Red, Green, and Blue have values 150, 100 and 50 respectively then its corresponding values
in HSI are
b. H = 0 , S = 1 and I = 85
Correct Answer: a
Detailed Solution:
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
θ if B ≤ G ( R − G ) + ( R − B)
H = , where θ = cos −1 ,
360 − θ if B > G 2 ( R − G ) 2 + ( R − B)(G − B)
3
𝑆𝑆 = 1 − [𝑚𝑚𝑚𝑚𝑚𝑚( 𝑅𝑅, 𝐺𝐺, 𝐵𝐵)]
𝑅𝑅 + 𝐺𝐺 + 𝐵𝐵
𝑅𝑅 + 𝐺𝐺 + 𝐵𝐵
𝐼𝐼 =
3
Hence option a is correct.
______________________________________________________________________________
QUESTION 10:
Correct Answer: b.
Detailed Solution:
************END*******
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
QUESTION 1:
Which of the following second order operator is most robust to noise in edge filtering?
a. Sobel operator
b. Laplacian operator
c. Prewitt operator
Correct Answer: d.
Detailed Solution:
In case of Laplacian of Gaussian operator, it is basically similar to performing low pass Gaussian
and the applying Laplacian operator. So this low pass operation minimize the noise and makes
LOG robust to noise in edge filtering.
Hence option d is correct.
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
____________________________________________________________________________
QUESTION 2:
A
−1 0 1
�−2 0 2�
−1 0 1
B
1 1 1
�0 0 0�
−1 −1 −1
C
−1 0 1
�−1 0 1�
−1 0 1
D
1 2 1
�0 0 0�
−1 2 −1
a. Only A
b. Only C
c. Both A and B
d. Both A and D
Correct Answer: d.
Detailed Solution:
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
−1 0 1
�−2 0 2� corresponds to horizontal sobel filter and
−1 0 1
1 2 1
�0 0 0 � corresponds to vertical sobel filter.
−1 −2 −1
QUESTION 3:
In a given image strip (S), assuming necessary zero padding find second order derivative
S= 4 4 4 4 4 4 0 0 0 0
a) − 4 0 0 0 0 − 4 4 0 0 0
b) 4 0 0 0 0 4 − 4 0 0 0
c) − 4 0 0 0 0 4 4 0 0 0
d) 4 0 0 0 0 4 4 0 0 0
Correct Answer: a.
Detailed Solution:
In this way we can compute the second order derivative for this sequence.
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
QUESTION 4:
− 1 0 1
Which of the following is (are) are true for horizontal Sobel operator, Gx = − 2 0 2 ?
− 1 0 1
d. Both a and c
Correct Answer: a.
Detailed Solution:
1
G y can be decomposed into two one dimensional operators as G y = 2 * [− 1 0 1] .
1
This shows that it performs averaging in vertical direction and differentiation in horizontal
direction.
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
______________________________________________________________________________
QUESTION 5:
A point in cartsian space is represented in Hough space (slope intercept space) as ___________
a. Point
b. Straight line
c. Parabola
d. None of these
Correct Answer: b.
Detailed Solution:
y mx + c .
Equation of line slope-intercept form in Cartesian space is written as=
Let ( m, c ) is Hough space and ( x0 , y 0 ) is a point in Cartesian space, then in Hough space
y 0 = mx0 + c .
1 y
On simplification we write it as m = − c + 0 , which represents a line in ( m, c ) space.
x0 x0
b) Sensitive to noise.
c) Both a and b
Correct Answer: c.
Detailed Solution:
Lapalcian operator is a second order derivative operator and therefore can be used to find
appropriate location of edge using zero crossings. But this second order derivative makes it
sensitive to noise.
QUESTION 7:
In a given image strip (S), assuming necessary zero padding find second order derivative
S = 2 4 8 10 8 4 2 0 0 0
a) 0 2 2 − 4 − 2 2 0 2 0 0
b) 0 2 − 2 − 4 − 2 2 0 2 0 0
c) 0 2 − 2 − 4 2 2 0 2 0 0
d) 0 2 2 4 2 2 0 2 0 0
Correct Answer: b.
Detailed Solution:
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
In this way we can compute the second order derivative for this sequence.
QUESTION 8:
Which of the following are major point of interest in discontinuity based segmentation
algorithms?
a. Isolated points
b. Lines
c. Edges
d. All of the above
Correct Answer: d.
Detailed Solution:
In discontinuity segmentation algorithms, isolated points, lines and edges are major point of
interest for segmentation.
______________________________________________________________________________
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur
QUESTION 9:
The applications of segmentation is (are)______________________.
Correct Answer: c.
Detailed Solution:
______________________________________________________________________________
QUESTION 10:
Correct Answer: d.
Detailed Solution:
************END*******