Image Processing Midsem
Image Processing Midsem
Q2 a Why do we use histogram equalization and histogram specification? illustrate the differences or 2
similarities between them with a suitable examples.
Consider the kernel and image as shown in Figure 1(b). Compute the convolution w; using the 2
minimum zero padding as needed.
Q3 In a character recognition application, text pages are reduced to binary using a thresholding 3
transformation function of the form in Fig. I(a). This is followed by a procedure that thins the
characters until they become strings of binary l's on a background of 0's. Due to noise,
binarization and thinning result in broken strings of characters with gaps ranging from I to 3
pixels. One way to "repair" the gaps is to run a smoothing kernel over the binary image to blur it,
and thus create bridges of nonzero pixels between gaps.
Give the (odd) size of the smallest box kernel capable of performing this task.
After bridging the gaps, the image is thresholded to convert it back to binary form. For
your answer in (a), what is the minimum value of the threshold required to accomplish
this,without causing the segments to break up again?
s= T()
T(r)- fo 0 0 0 01
[! 2 1 1 00
w=2 4 2 f=|0 1 0 0
|1 2 1| 00 1 0 0
K |0 0 0 0 0}
Dark Lighi
(a) (b)
Figure 1
Consider the hand X-ray images shown in Figure 2(a). The image on the right was
obtained by
lowpass filtering the image on the left with a Gaussian lowpass filter, and then highpass
2
filtering
the result with a Gaussian highpass filter. The images are of size 420 x 344 pixels and Do = 25
was used for both filter transfer functions.
Explain why the center part of the finger ring in the figure on the right appears so bright
and solid, considering that the dominant characteristic of the filtered image consists of
edges of the fingers and wrist bones, with darker arcas in between.
ii Doyou think the result would have been different if the order of the filtering process had
been reversed?
(a) (b)
Figure 2
Explain the working of frequency domain filters along with their formulae, graphs and suitable 2
examples.
Q5 The white bars in the test pattern shown in Figure 2 (b) are 7 pixels wide and 210 pixels high. 2
The separation between bars is 17 pixels. What would this image look like after application of
I. A 3 x3 arithmetic mean filter?
II. Using a contraharmonic mean filter with Q =1and Q= - 1.
Let A denote the set shown below shaded in the following figure, and refer to the structuring 2
elements shown (the black dots denote the origin). Sketch the result of the following three
operations individually.
(AB)B.
(AB)B.
(AB)B.
L
|L4|
|L/4|
L
B' B?
2
| L2
A
B³ B