This set of Digital Image Processing Interview Questions and Answers for freshers focuses on “Histogram Processing – 2”.

1. The histogram of a digital image with gray levels in the range [0, L-1] is represented by a discrete function:

a) h(r__{k})=n__{k}

b) h(r__{k} )=n/n__{k}

c) p(r__{k} )=n__{k}

d) h(r__{k} )=n__{k}/n

View Answer

Explanation: The histogram of a digital image with gray levels in the range [0, L-1] is a discrete function h(r

_{k})=n

_{k}, where r

_{k}is the kth gray level and n

_{k}is the number of pixels in the image having gray level r

_{k}.

2. How is the expression represented for the normalized histogram?

a) p(r__{k} )=n__{k}

b) p(r__{k} )=n__{k}/n

c) p(r__{k})=nn__{k}

d) p(r__{k} )=n/n__{k}

View Answer

Explanation: It is common practice to normalize a histogram by dividing each of its values by the total number of pixels in the image, denoted by n. Thus, a normalized histogram is given by p(r

_{k})=n

_{k}/n, for k=0,1,2…..L-1. Loosely speaking, p(r

_{k}) gives an estimate of the probability of occurrence of gray-level r

_{k}. Note that the sum of all components of a normalized histogram is equal to 1.

3. Which of the following conditions does the T(r) must satisfy?

a) T(r) is double-valued and monotonically decreasing in the interval 0≤r≤1; and

0≤T(r)≤1 for 0≤r≤1

b) T(r) is double-valued and monotonically increasing in the interval 0≤r≤1; and

0≤T(r)≤1 for 0≤r≤1

c) T(r) is single-valued and monotonically decreasing in the interval 0≤r≤1; and

0≤T(r)≤1 for 0≤r≤1

d) T(r) is single-valued and monotonically increasing in the interval 0≤r≤1; and

0≤T(r)≤1 for 0≤r≤1

View Answer

Explanation: For any r satisfying the aforementioned conditions, we focus attention on transformations of the form

s=T(r) For 0≤r≤1

That produces a level s for every pixel value r in the original image.

For reasons that will become obvious shortly, we assume that the transformation function T(r) satisfies the following conditions:

T(r) is single-valued and monotonically increasing in the interval 0≤r≤1; and

0≤T(r)≤1 for 0≤r≤1.

4. The inverse transformation from s back to r is denoted as:

a) s=T^{-1}(r) for 0≤s≤1

b) r=T^{-1}(s) for 0≤r≤1

c) r=T^{-1}(s) for 0≤s≤1

d) r=T^{-1}(s) for 0≥s≥1

View Answer

Explanation: The inverse transformation from s back to r is denoted by:

r=T

_{-1}(s) for 0≤s≤1.

5. The probability density function p_s (s) of the transformed variable s can be obtained by using which of the following formula?

a) p__{s} (s)=p__{r} (r)|dr/ds|

b) p__{s} (s)=p__{r} (r)|ds/dr|

c) p__{r} (r)=p__{s} (s)|dr/ds|

d) p__{s} (s)=p__{r} (r)|dr/dr|

View Answer

Explanation: The probability density function p_

_{s}(s) of the transformed variable s can be obtained using a basic formula: p_

_{s}(s)=p_r (r)|dr/ds|

Thus, the probability density function of the transformed variable, s, is determined by the gray-level PDF of the input image and by the chosen transformation function.

6. A transformation function of particular importance in image processing is represented in which of the following form?

a) s=T(r)=∫_{0} ^{(2r)}p_{r} (ω)dω

b) s=T(r)=∫_{0} ^{(r-1)}p_{r} (ω)dω

c) s=T(r)=∫_{0} ^{(r/2)}p_{r} (ω)dω

d) s=T(r)=∫_{0} p_{r} (ω)dω

View Answer

Explanation: A transformation function of particular importance in image processing has the form: s=T(r)=∫

_{0}

^{r}p

_{r}(ω)dw, where ω is a dummy variable of integration. The right side of is recognized as the cumulative distribution function (CDF) of random variable r.

7. Histogram equalization or Histogram linearization is represented by of the following equation:

a) s_{k} =∑^{k} _{j} =1 n_{j}/n k=0,1,2,……,L-1

b) s_{k} =∑^{k} _{j} =0 n_{j}/n k=0,1,2,……,L-1

c) s_{k} =∑^{k} _{j} =0 n/n_{j} k=0,1,2,……,L-1

d) s_{k} =∑^{k} _{j} =n n_{j}/n k=0,1,2,……,L-1

View Answer

Explanation: A plot of p

_{k}_ (r

_{k}) versus r_k is called a histogram .The transformation (mapping) given in s

_{k}=∑

^{k}

_{j}=0)

_{k}n

_{j}/n k=0,1,2,……,L-1 is called histogram equalization or histogram linearization.

8. What is the method that is used to generate a processed image that have a specified histogram?

a) Histogram linearization

b) Histogram equalization

c) Histogram matching

d) Histogram processing

View Answer

Explanation: In particular, it is useful sometimes to be able to specify the shape of the histogram that we wish the processed image to have. The method used to generate a processed image that has a specified histogram is called histogram matching or histogram specification.

9. Histograms are the basis for numerous spatial domain processing techniques.

a) True

b) False

View Answer

Explanation: Histograms are the basis for numerous spatial domain processing techniques. Histogram manipulation can be used effectively for image enhancement.

10. In a dark image, the components of histogram are concentrated on which side of the grey scale?

a) High

b) Medium

c) Low

d) Evenly distributed

View Answer

Explanation: We know that in the dark image, the components of histogram are concentrated mostly on the low i.e., dark side of the grey scale. Similarly, the components of histogram of the bright image are biased towards the high side of the grey scale.

**Sanfoundry Global Education & Learning Series – Digital Image Processing.**

To practice all areas of Digital Image Processing for Interviews, __here is complete set of 1000+ Multiple Choice Questions and Answers__.

**Related Posts:**

- Practice Electronics Engineering MCQs
- Practice Electrical Engineering MCQs
- Check Electrical Engineering Books
- Apply for Electrical Engineering Internship
- Check Digital Image Processing Books