Explore topic-wise InterviewSolutions in .

This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.

51.

What is standard deviation value for constant area?(a) 0(b) 1(c) -1(d) None of the mentionedI had been asked this question in an interview for internship.This key question is from Histogram Specification and Use of Histogram Statistics for Image Enhancement in division Image Enhancement of Digital Image Processing

Answer»

Correct OPTION is (a) 0

Explanation: STANDARD deviation is given by: that RESULTS 0 for constant AREAS.

52.

In terms of enhancement, what does mean and variance refers to?(a) Average contrast and average gray level respectively(b) Average gray level and average contrast respectively(c) Average gray level in both(d) Average contrast in bothThis question was addressed to me in a job interview.The doubt is from Histogram Specification and Use of Histogram Statistics for Image Enhancement topic in chapter Image Enhancement of Digital Image Processing

Answer»

The correct option is (b) Average gray level and average contrast respectively

To ELABORATE: In terms of enhancement, mean refers to average gray level and variance to average contrast.

Given by, mean as: m = ∑_(i=0)^(L-1) ri p(ri ) and variance as: σ2(r) = ∑_(i=0)^(L-1) (ri –m)2 p(ri ).

Where, ri is histogram COMPONENT of ITH value of r, p(ri) is PROBABILITY occurrence of gray level ri and L is the max gray value allowed.

53.

In Histogram Matching or Specification, z = G^-1[T(r)], r and z are gray level of input and output image and T & G are transformations, to confirm the single value and monotonous of G^-1what of the following is/are required?(a) G must be strictly monotonic(b) G must be strictly decreasing(c) All of the mentioned(d) None of the mentionedThis question was addressed to me in an interview.The query is from Histogram Specification and Use of Histogram Statistics for Image Enhancement topic in section Image Enhancement of Digital Image Processing

Answer»

The CORRECT option is (a) G MUST be strictly monotonic

For EXPLANATION: G being strictly monotonic, confirms that the values of specified histogram pz(zi) can’t be zero. That is G^-1 is also SINGLE valued and monotonic.

54.

What happens to the output image when global Histogram equalization method is applied on smooth and noisy area of an image?(a) The contrast increases little bit with considerable enhancement of noise(b) The result would have a fine noise texture(c) All of the mentioned(d) None of the mentionedI had been asked this question during a job interview.I'd like to ask this question from Histogram Specification and Use of Histogram Statistics for Image Enhancement topic in section Image Enhancement of Digital Image Processing

Answer»

The correct choice is (a) The contrast increases little bit with considerable enhancement of NOISE

Easy explanation: To an image’s smooth and noisy area, when global histogram method is applied the contrast increases little bit with considerable enhancement of noise, while for local method the result has a fine noise texture.

(a) Original image. (B) Result using global histogram equalization. (C) Result using local histogram equalization using 7*7 NEIGHBORHOOD about each PIXEL.

55.

Which of the following histogram processing techniques is global?(a) Histogram Linearization(b) Histogram Specification(c) Histogram Matching(d) All of the mentionedI have been asked this question during an online exam.My doubt stems from Histogram Specification and Use of Histogram Statistics for Image Enhancement in portion Image Enhancement of Digital Image Processing

Answer»

The correct OPTION is (d) All of the MENTIONED

To explain I would say: All of the mentioned methods modifies the PIXEL value by transformations that are based on the gray-level of the WHOLE image.

56.

In Histogram Matching r and z are gray level of input and output image and p stands for PDF, then, what does pz(z) stands for?(a) Specific probability density function(b) Specified pixel distribution function(c) Specific pixel density function(d) Specified probability density functionThe question was posed to me in an interview for internship.My query is from Histogram Specification and Use of Histogram Statistics for Image Enhancement in chapter Image Enhancement of Digital Image Processing

Answer»
57.

Inverse transformation plays an important role in which of the following Histogram processing Techniques?(a) Histogram Linearization(b) Histogram Equalization(c) Histogram Matching(d) None of the mentionedThe question was asked during an interview.I would like to ask this question from Histogram Specification and Use of Histogram Statistics for Image Enhancement in chapter Image Enhancement of Digital Image Processing

Answer»

The correct choice is (c) Histogram Matching

Easy explanation: In Histogram Matching or SPECIFICATION, Z = G^-1[T(r)], r and z are gray level of INPUT and output image and T & G are transformations.

In Histogram Linearization or Equalization s = T(r), r and s are gray level of input and output image and T is the only transformations.

58.

If the histogram of same images, with different contrast, are different, then what is the relation between the histogram equalized images?(a) They look visually very different from one another(b) They look visually very similar to one another(c) They look visually different from one another just like the input images(d) None of the mentionedI have been asked this question in class test.I'm obligated to ask this question of Histogram Equalization and Processing topic in section Image Enhancement of Digital Image Processing

Answer»

Correct option is (B) They LOOK visually very similar to one another

For EXPLANATION I would say: This is because the contents of all IMAGES is same. The difference is just the CONTRAST.

The histogram equalization increases the contrast and make the gray-level difference of output image visually indistinguishable.

59.

The technique of Enhancement that has a specified Histogram processed image as result, is called?(a) Histogram Linearization(b) Histogram Equalization(c) Histogram Matching(d) None of the mentionedI got this question in exam.This is a very interesting question from Histogram Specification and Use of Histogram Statistics for Image Enhancement topic in portion Image Enhancement of Digital Image Processing

Answer»

The CORRECT answer is (c) Histogram Matching

To explain: Histogram SPECIFICATION method uses a SPECIFIED Histogram, i.e. the shape of histogram can be specified by self, to generate a processed image.

And the same is also KNOWN as Histogram Matching.

60.

The transformation T (rk) = ∑^k(j=0) nj /n, k = 0, 1, 2, …, L-1, where L is max gray value possible and r-k is the kth gray level, is called _______(a) Histogram linearization(b) Histogram equalization(c) All of the mentioned(d) None of the mentionedThis question was addressed to me during an online interview.Question is from Histogram Equalization and Processing in portion Image Enhancement of Digital Image Processing

Answer» RIGHT option is (c) All of the mentioned

Best explanation: The GIVEN TRANSFORMATION is the equation for the HISTOGRAM equalization also CALLED as Histogram linearization.
61.

For the transformation T(r) = [∫0^r pr(w) dw], r is gray value of input image, pr(r) is PDF of random variable r and w is a dummy variable. If, the PDF are always positive and that the function under integral gives the area under the function, the transformation is said to be __________(a) Single valued(b) Monotonically increasing(c) All of the mentioned(d) None of the mentionedI have been asked this question in a national level competition.I would like to ask this question from Histogram Equalization and Processing topic in division Image Enhancement of Digital Image Processing

Answer»

The correct answer is (C) All of the mentioned

Best EXPLANATION: For the given transformation, the PDF being positive and the integral providing area under the FUNCTION, the transformation function is SINGLE valued as well as monotonically increasing.

62.

What is the full form for PDF, a fundamental descriptor of random variables i.e. gray values in an image?(a) Pixel distribution function(b) Portable document format(c) Pel deriving function(d) Probability density functionThe question was posed to me in homework.The question is from Histogram Equalization and Processing in division Image Enhancement of Digital Image Processing

Answer»

Correct answer is (d) Probability density function

To elaborate: For a RANDOM variable, a PDF, probability density function, is ONE of the most fundamental DESCRIPTOR.

63.

What is the full form of CDF?(a) Cumulative density function(b) Contour derived function(c) Cumulative distribution function(d) None of the mentionedI got this question in my homework.My question is taken from Histogram Equalization and Processing topic in division Image Enhancement of Digital Image Processing

Answer»

Correct option is (c) Cumulative DISTRIBUTION function

To EXPLAIN: CDF of random variable R, gray value of input image, is cumulative distribution function.

64.

The transformation s = T(r) producing a gray level s for each pixel value r of input image. Then, if the T(r) is satisfying 0 ≤ T(r) ≤ 1 in interval 0 ≤ r ≤ 1, what does it signifies?(a) It guarantees the existence of inverse transformation(b) It is needed to restrict producing of some inverted gray levels in output(c) It guarantees that the output gray level and the input gray level will be in same range(d) All of the mentionedThe question was asked during an interview.I'm obligated to ask this question of Histogram Equalization and Processing in section Image Enhancement of Digital Image Processing

Answer» CORRECT choice is (c) It GUARANTEES that the output gray level and the input gray level will be in same RANGE

Easy explanation: If, 0 ≤ T(r) ≤ 1 in interval 0 ≤ r ≤ 1, then the output gray level and the input gray level will be in same range.
65.

The transformation s = T(r) producing a gray level s for each pixel value r of input image. Then, if the T(r) is monotonically increasing in interval 0 ≤ r ≤ 1, what does it signifies?(a) It guarantees the existence of inverse transformation(b) It is needed to restrict producing of some inverted gray levels in output(c) It guarantees that the output gray level and the input gray level will be in same range(d) All of the mentionedI had been asked this question in an interview.The doubt is from Histogram Equalization and Processing topic in division Image Enhancement of Digital Image Processing

Answer»

Correct option is (b) It is NEEDED to restrict producing of some inverted gray LEVELS in OUTPUT

For explanation I would say: A T(r) which is not monotonically increasing, could RESULT in an output containing at least a section of inverted intensity range. The T(r) is monotonically increasing in interval 0 ≤ r ≤ 1, is needed to restrict producing of some inverted gray levels in output.

66.

The transformation s = T(r) producing a gray level s for each pixel value r of input image. Then, if the T(r) is single valued in interval 0 ≤ r ≤ 1, what does it signifies?(a) It guarantees the existence of inverse transformation(b) It is needed to restrict producing of some inverted gray levels in output(c) It guarantees that the output gray level and the input gray level will be in same range(d) All of the mentionedThis question was addressed to me during an online exam.This intriguing question comes from Histogram Equalization and Processing in chapter Image Enhancement of Digital Image Processing

Answer»

Right CHOICE is (a) It GUARANTEES the existence of inverse transformation

Explanation: The T(r) is SINGLE valued in interval 0 ≤ r ≤ 1, guarantees the existence of inverse transformation.

67.

A bright image will have what kind of histogram, when the histogram, h(rk) = nk, rk the kth gray level and nk total pixels with gray level rk, is plotted nk versus rk?(a) The histogram that are concentrated on the dark side of gray scale(b) The histogram whose component are biased toward high side of gray scale(c) The histogram that is narrow and centered toward the middle of gray scale(d) The histogram that covers wide range of gray scale and the distribution of pixel is approximately uniformThis question was addressed to me in an interview.The doubt is from Histogram Equalization and Processing topic in division Image Enhancement of Digital Image Processing

Answer»

Right option is (b) The histogram whose component are biased toward high side of GRAY SCALE

To elaborate: The histogram plot is nk VERSUS rk. So, the histogram of a low contrast image will be narrow and centered toward the middle of gray scale.

A dark image will have the histogram that are concentrated on the dark side of gray scale.

A bright image will have the histogram whose component are biased toward high side of gray scale.

A high contrast image will have the histogram that covers wide range of gray scale and the distribution of pixel is approximately UNIFORM.

68.

A low contrast image will have what kind of histogram when, the histogram, h(rk) = nk, rk the kth gray level and nk total pixels with gray level rk, is plotted nk versus rk?(a) The histogram that are concentrated on the dark side of gray scale(b) The histogram whose component are biased toward high side of gray scale(c) The histogram that is narrow and centered toward the middle of gray scale(d) The histogram that covers wide range of gray scale and the distribution of pixel is approximately uniformI have been asked this question in an internship interview.The doubt is from Histogram Equalization and Processing topic in division Image Enhancement of Digital Image Processing

Answer»

Right choice is (c) The histogram that is narrow and centered toward the middle of gray scale

Easiest explanation: The histogram plot is nk VERSUS rk. So, the histogram of a low contrast image will be narrow and centered toward the middle of gray scale.

A dark image will have the histogram that are CONCENTRATED on the dark side of gray scale.

A bright image will have the histogram WHOSE COMPONENT are BIASED toward high side of gray scale.

A high contrast image will have the histogram that covers wide range of gray scale and the distribution of pixel is approximately uniform.

69.

What is the sum of all components of a normalized histogram?(a) 1(b) -1(c) 0(d) None of the mentionedThis question was posed to me in quiz.Origin of the question is Histogram Equalization and Processing in portion Image Enhancement of Digital Image Processing

Answer»

Right answer is (a) 1

Explanation: A normalized histogram. P(rk) = nk / n

Where, n is total NUMBER of pixels in image, rk the kth GRAY level and nk total pixels with gray level rk.

Here, p(rk) gives the PROBABILITY of occurrence of rk.

70.

Log transformation is generally used in which of the following device(s)?(a) Cathode ray tube(b) Scanners and printers(c) All of the mentioned(d) None of the mentionedThis question was posed to me by my school teacher while I was bunking the class.The above asked question is from Basic Grey Level Transformation in section Image Enhancement of Digital Image Processing

Answer»

Correct answer is (d) NONE of the mentioned

Easy explanation: All the mentioned devices uses GAMMA CORRECTION and so power-law transformation is generally of use in such CASE.

71.

If h(rk) = nk, rk the kth gray level and nk total pixels with gray level rk, is a histogram in gray level range [0, L – 1]. Then how can we normalize a histogram?(a) If each value of histogram is added by total number of pixels in image, say n, p(rk)=nk+n(b) If each value of histogram is subtracted by total number of pixels in image, say n, p(rk)=nk-n(c) If each value of histogram is multiplied by total number of pixels in image, say n, p(rk)=nk * n(d) If each value of histogram is divided by total number of pixels in image, say n, p(rk)=nk / nI had been asked this question during an online interview.This is a very interesting question from Histogram Equalization and Processing topic in division Image Enhancement of Digital Image Processing

Answer»

The correct CHOICE is (d) If each value of histogram is divided by total number of pixels in IMAGE, say n, P(rk)=nk / n

The best explanation: To normalize a histogram each of its value is divided by total number of pixels in image, say n. p(rk) = nk / n.

72.

The power-law transformation is given as: s = crᵞ, c and ᵞ are positive constants, and r is the gray-level of image before processing and s after processing. What happens if we increase the gamma value from 0.3 to 0.7?(a) The contrast increases and the detail increases(b) The contrast decreases and the detail decreases(c) The contrast increases and the detail decreases(d) The contrast decreases and the detail increasesThe question was posed to me in an interview.The above asked question is from Basic Grey Level Transformation topic in portion Image Enhancement of Digital Image Processing

Answer»

Right choice is (c) The CONTRAST increases and the detail decreases

Easy explanation: In power-law transformation as gamma decreases is increase in IMAGE DETAILS HOWEVER, the contrast reduces.

73.

The power-law transformation is given as: s = crᵞ, c and ᵞ are positive constants, and r is the gray-level of image before processing and s after processing. Then, for what value of c and ᵞ does power-law transformation becomes identity transformation?(a) c = 1 and ᵞ < 1(b) c = 1 and ᵞ > 1(c) c = -1 and ᵞ = 0(d) c = ᵞ = 1I got this question in an interview.My query is from Basic Grey Level Transformation topic in chapter Image Enhancement of Digital Image Processing

Answer» RIGHT OPTION is (d) c = ᵞ = 1

To ELABORATE: For c = ᵞ = 1 the power-law transformations s = crᵞ become s = r that is an IDENTITY transformations.
74.

Which of the following transformation is used cathode ray tube (CRT) devices?(a) Log transformations(b) Power-law transformations(c) Negative transformations(d) None of the mentionedThis question was posed to me in exam.The origin of the question is Basic Grey Level Transformation topic in division Image Enhancement of Digital Image Processing

Answer»

Right choice is (b) Power-law transformations

The explanation: The CRT devices has a power function relation between INTENSITY and volt response.

In such devices OUTPUT appears DARKER than input. So, gamma CORRECTION is a MUST in this case.

75.

What is gamma correction?(a) A process to remove power-law transformation response phenomena(b) A process to remove log transformation response phenomena(c) A process to correct log transformation response phenomena(d) A process to correct power-law transformation response phenomenaThis question was addressed to me in an interview for internship.I want to ask this question from Basic Grey Level Transformation topic in division Image Enhancement of Digital Image Processing

Answer»

The correct answer is (d) A process to correct power-law transformation response phenomena

Best EXPLANATION: The exponent used in power-law transformation is CALLED gamma. So, using the ᵞ value, either ᵞ < 1 or ᵞ> 1, various RESPONSES are obtained.

76.

A typical Fourier Spectrum with spectrum value ranging from 0 to 106, which of the following transformation is better to apply.(a) Log transformations(b) Power-law transformations(c) Negative transformations(d) None of the mentionedThis question was addressed to me by my school principal while I was bunking the class.The question is from Basic Grey Level Transformation in section Image Enhancement of Digital Image Processing

Answer» RIGHT option is (a) LOG transformations

The explanation: The log TRANSFORMATION compresses the dynamic RANGE of IMAGES and so the given range turns to 0 to approx. 7, which is easily displayable with 8-bit display.
77.

Although power-law transformations are considered more versatile than log transformations for compressing of gray-levels in an image, then, how is log transformations advantageous over power-law transformations?(a) The log transformation compresses the dynamic range of images(b) The log transformations reverses the intensity levels in the images(c) All of the mentioned(d) None of the mentionedI have been asked this question in an internship interview.The above asked question is from Basic Grey Level Transformation topic in portion Image Enhancement of Digital Image Processing

Answer»

Right answer is (a) The log TRANSFORMATION COMPRESSES the dynamic RANGE of images

Explanation: For compressing gray-levels in an image, power-law transformation is more versatile than log transformation, but log transformation has an IMPORTANT characteristics of compressing dynamic ranges of pixels having a large variation of values.

78.

Which of the following transformations expands the value of dark pixels while the higher-level values are being compressed?(a) Log transformations(b) Inverse-log transformations(c) Negative transformations(d) None of the mentionedI have been asked this question during an online interview.This question is from Basic Grey Level Transformation topic in division Image Enhancement of Digital Image Processing

Answer»

The CORRECT OPTION is (a) Log transformations

Explanation: Log transformation derives a narrow range of gray-level values in INPUT image to WIDER range of gray-levels in the OUTPUT image, and does performs the above given transformation.

The inverse-log is applied for the opposite.

79.

Which of the following transformations is particularly well suited for enhancing an image with white and gray detail embedded in dark regions of the image, especially when there is more black area in the image.(a) Log transformations(b) Power-law transformations(c) Negative transformations(d) None of the mentionedThe question was asked in an online interview.Query is from Basic Grey Level Transformation in chapter Image Enhancement of Digital Image Processing

Answer»

Correct answer is (C) Negative transformations

Explanation: Negative TRANSFORMATION reverses the intensity LEVELS in the image and produces an equivalent photographic negative. So, WELL suited for the above GIVEN condition.

80.

If r be the gray-level of image before processing and s after processing then which expression defines the power-law transformation, for the gray-level in the range [0, L-1]?(a) s = L – 1 – r(b) s = crᵞ, c and ᵞ are positive constants(c) s = c log (1 + r), c is a constant and r ≥ 0(d) none of the mentionedThe question was asked in final exam.I need to ask this question from Basic Grey Level Transformation in section Image Enhancement of Digital Image Processing

Answer»

The CORRECT choice is (b) s = crᵞ, c and ᵞ are POSITIVE constants

To explain: The EXPRESSION for power-law TRANSFORMATION is given as: s = crᵞ, c and ᵞ are positive constants.

81.

If r be the gray-level of image before processing and s after processing then which expression helps to obtain the negative of an image for the gray-level in the range [0, L-1]?(a) s = L – 1 – r(b) s = crᵞ, c and ᵞ are positive constants(c) s = c log (1 + r), c is a constant and r ≥ 0(d) none of the mentionedThis question was addressed to me by my college professor while I was bunking the class.I want to ask this question from Basic Grey Level Transformation in section Image Enhancement of Digital Image Processing

Answer»

The correct ANSWER is (c) s = c LOG (1 + r), c is a constant and r ≥ 0

The EXPLANATION is: The EXPRESSION for log transformation is GIVEN as: s = c log (1 + r), c is a constant and r ≥ 0.

82.

If r be the gray-level of image before processing and s after processing then which expression defines the negative transformation, for the gray-level in the range [0, L-1]?(a) s = L – 1 – r(b) s = crᵞ, c and ᵞ are positive constants(c) s = c log (1 + r), c is a constant and r ≥ 0(d) none of the mentionedThis question was addressed to me during an interview.My question is taken from Basic Grey Level Transformation topic in division Image Enhancement of Digital Image Processing

Answer»

The correct ANSWER is (a) s = L – 1R

Explanation: The expression for negative TRANSFORMATION is given as: s = L – 1 – r.

83.

Using gray-level transformation, the basic function power-law deals with which of the following transformation?(a) log and inverse-log transformations(b) negative and identity transformations(c) nth and nthroot transformations(d) all of the mentionedThe question was posed to me in unit test.My question is taken from Basic Grey Level Transformation topic in chapter Image Enhancement of Digital Image Processing

Answer»

Right answer is (b) negative and IDENTITY transformations

For explanation I WOULD SAY: For IMAGE Enhancement gray-level transformation shows three basic function that are:

LINEARITY for negative and identity transformation

Logarithmic for log and inverse-log transformation, and

Power-law for nth and nthroot transformations.

84.

Using gray-level transformation, the basic function Logarithmic deals with which of the following transformation?(a) Log and inverse-log transformations(b) Negative and identity transformations(c) nth and nthroot transformations(d) All of the mentionedThis question was addressed to me during an online interview.The question is from Basic Grey Level Transformation topic in section Image Enhancement of Digital Image Processing

Answer»

The CORRECT choice is (a) Log and inverse-log transformations

Easiest EXPLANATION: For Image Enhancement gray-level TRANSFORMATION shows THREE basic function that are:

Linearity for negative and identity transformation

Logarithmic for log and inverse-log transformation, and

Power-law for nth and nthroot transformations.

85.

What is the technique for a gray-level transformation function called, if the transformation would be to produce an image of higher contrast than the original by darkening the levels below some gray-level m and brightening the levels above m in the original image.(a) Contouring(b) Contrast stretching(c) Mask processing(d) Point processingI had been asked this question in unit test.The above asked question is from Relationship between Pixels and Image Enhancement Basics topic in chapter Image Enhancement of Digital Image Processing

Answer»

The correct option is (b) Contrast stretching

Best explanation: For a gray-level transformation FUNCTION “s=T(r)”, where r and s are the gray-level of f(x, y) (input image) and g(x, y) (OUTPUT image) respectively at any point (x, y).

Then the TECHNIQUE, contrast stretching compresses the value of r below m by transformation function into a narrow range of s, towards BLACK and BRIGHTENS the value of r above m.

86.

Using gray-level transformation, the basic function linearity deals with which of the following transformation?(a) log and inverse-log transformations(b) negative and identity transformations(c) nth and nthroot transformations(d) All of the mentionedI had been asked this question in semester exam.This intriguing question originated from Basic Grey Level Transformation topic in division Image Enhancement of Digital Image Processing

Answer»

Right choice is (B) NEGATIVE and identity transformations

The EXPLANATION is: For Image ENHANCEMENT gray-level TRANSFORMATION shows three basic function that are:

Linearity for negative and identity transformation

Logarithmic for log and inverse-log transformation, and

Power-law for nth and nthroot transformations.

87.

For Image Enhancement a general-approach is to use a function of values of f (input image) in a predefined neighborhood of (x, y) to determine the value of g (output image) at (x, y). The techniques that uses such approaches are called ________(a) Contouring(b) Contrast stretching(c) Mask processing(d) None of the mentionedThis question was addressed to me in an online quiz.My question is based upon Relationship between Pixels and Image Enhancement Basics topic in section Image Enhancement of Digital Image Processing

Answer»

Correct CHOICE is (c) Mask PROCESSING

For explanation: The above mentioned approach is BASED on the use of masks. A mask is a small m*n 2-D array in which the values of mask coefficients determine the nature of the process and IMAGE Enhancement on such is called Mask Processing or Filtering.

88.

The domain that refers to image plane itself and the domain that refers to Fourier transform of an image is/are :(a) Spatial domain in both(b) Frequency domain in both(c) Spatial domain and Frequency domain respectively(d) Frequency domain and Spatial domain respectivelyThe question was asked in unit test.The origin of the question is Relationship between Pixels and Image Enhancement Basics in section Image Enhancement of Digital Image Processing

Answer»

The CORRECT ANSWER is (c) Spatial domain and FREQUENCY domain respectively

To elaborate: Spatial domain itself refers to the image plane, and approaches in this category are based on direct manipulation of pixels in an image.

Techniques based on Frequency domain PROCESSING are based on modifying the Fourier TRANSFORM of an image.

89.

For pixels p(x, y), q(s, t), the chessboard distance between p and q is defined as:(a) D(p, q) = [(x – s)^2 + (y – t)^2]^1/2(b) D(p, q) = |x – s| + |y – t|(c) D(p, q) = max (|x – s| + |y – t|)(d) None of the mentionedThis question was posed to me by my college professor while I was bunking the class.I want to ask this question from Relationship between Pixels and Image Enhancement Basics in section Image Enhancement of Digital Image Processing

Answer» CORRECT answer is (C) D(p, q) = max (|X – s| + |y – t|)

Explanation: The chessboard distance for PIXELS p(x, y), q(s, t) is the D8 distance given by:

D(p, q) = max (|x – s| + |y – t|).
90.

For pixels p(x, y), q(s, t), the city-block distance between p and q is defined as:(a) D(p, q) = [(x – s)^2 + (y – t)^2]^1/2(b) D(p, q) = |x – s| + |y – t|(c) D(p, q) = max (|x – s| + |y – t|)(d) None of the mentionedI got this question by my college director while I was bunking the class.My question is from Relationship between Pixels and Image Enhancement Basics topic in division Image Enhancement of Digital Image Processing

Answer»

Right choice is (b) D(p, Q) = |X – s| + |y – t|

For EXPLANATION: The city-block distance for PIXELS p(x, y), q(s, t) is the D4 distance given by:

D(p, q) = |x – s| + |y – t|.

91.

For pixels p(x, y), q(s, t), and z(v, w), D is a distance function or metric if:(a) D(p, q) ≥ 0(b) D(p, q) = D(q, p)(c) D(p, z) ≤ D(p, q) + D(q, z)(d) All of the mentionedI got this question by my college professor while I was bunking the class.Query is from Relationship between Pixels and Image Enhancement Basics topic in portion Image Enhancement of Digital Image Processing

Answer»

Right choice is (d) All of the mentioned

The EXPLANATION is: For pixels P(x, y), Q(s, t), and z(v, W), D is a distance function or METRIC if:

(i) D(p, q) ≥ 0,(D(p, q) = 0if p=q),

(ii) D(p, q) = D(q, p), and

(iii) D(p, z) ≤ D(p, q) + D(q, z).

92.

For pixels p(x, y), q(s, t), the Euclidean distance between p and q is defined as:(a) D(p, q) = [(x – s)^2 + (y – t)^2]^1/2(b) D(p, q) = |x – s| + |y – t|(c) D(p, q) = max (|x – s| + |y – t|)(d) None of the mentionedThis question was posed to me in an interview for job.This intriguing question originated from Relationship between Pixels and Image Enhancement Basics topic in chapter Image Enhancement of Digital Image Processing

Answer»

Right answer is (a) D(p, q) = [(x – s)^2 + (y – t)^2]^1/2

To ELABORATE: The EUCLIDEAN DISTANCE for pixels p(x, y), q(s, t) is:

D(p, q) = [(x – s)^2 + (y – t)^2]^1/2.

93.

Let R be a subset of pixels in an image. How can we define the contour of R?(a) If R is a region, and the set of pixels in R have one or more neighbors that are not in R(b) If R is an entire image, then the set of pixels in the first and last rows and columns of R(c) All of the mentioned(d) None of the mentionedThe question was posed to me during an interview.This is a very interesting question from Relationship between Pixels and Image Enhancement Basics in section Image Enhancement of Digital Image Processing

Answer» CORRECT answer is (C) All of the mentioned

The best explanation: For a subset of pixels in an image R

The BOUNDARY or contour of a region R is the set of pixels in the region that have one or more NEIGHBORS that are not in R.

In CASE R is an entire image, then its boundary is defined as the set of pixels in the first and last rows and columns of the image.
94.

Let S, a subset of pixels in an image, is said to be a connected set if:(a) If for any pixel p in S, the set of pixels that are connected to it in Sis only one(b) If it only has one connected component(c) If S is a region(d) All of the mentionedThe question was posed to me in an international level competition.My question comes from Relationship between Pixels and Image Enhancement Basics topic in chapter Image Enhancement of Digital Image Processing

Answer»

Right choice is (d) All of the mentioned

The EXPLANATION is: For a SUBSET of pixels in an image S

For any pixel P in S, the set of pixels is called a connected component of S if connected to p in S. The set S is called a connected set if it only has ONE connected component.

S, is a region of the image if S is a connected set.

95.

Two pixels p and q having gray values from V, the set of gray-level values used to define adjacency, are m-adjacent if:(a) q is in N4(p)(b) q is in ND(p) and the set N4(p) ∩ N4(q) has no pixels whose values are from V(c) Any of the mentioned(d) None of the mentionedThis question was posed to me in unit test.My enquiry is from Relationship between Pixels and Image Enhancement Basics topic in chapter Image Enhancement of Digital Image Processing

Answer»

The correct option is (C) Any of the mentioned

The explanation: Mixed adjacency is a modified form of 8-adjacency.

The above CONDITIONED Two pixels P and q are m-adjacent if:

q is in N4(p), or

q is in ND(p) and the set N4(p) ∩ N4(q) has no pixels WHOSE values are from V.

96.

State for the validation of the statement:(a) “In general-purpose for a digital image of zooming and shrinking, where Bilinear Interpolation generally is the method of choice over nearest neighbor Interpolation”.(b) True(c) FalseThis question was addressed to me during an internship interview.The question is from Zooming and Shrinking Digital Images in portion Image Enhancement of Digital Image Processing

Answer»

Correct choice is (a) “In general-purpose for a digital image of zooming and shrinking, where Bilinear INTERPOLATION generally is the method of choice over nearest neighbor Interpolation”.

The EXPLANATION: For CASE 32*32 to 1024*1024, the DATA is rather lost in nearest neighbor Interpolation, but the result of Bilinear Interpolation remains REASONABLY good for the same.

97.

What is the set of pixels of 8-neighbors of pixel p at coordinates (x, y)?(a) (x+1, y), (x-1, y), (x, y+1), (x, y-1), (x+2, y), (x-2, y), (x, y+2), (x, y-2)(b) (x+1, y), (x-1, y), (x, y+1), (x, y-1), (x+1, y+1), (x+1, y-1), (x-1, y+1), (x-1, y-1)(c) (x+1, y+1), (x+1, y-1), (x-1, y+1), (x-1, y-1), (x+2, y+2), (x+2, y-2), (x-2, y+2), (x-2, y-2)(d) (x+2, y), (x-2, y), (x, y+2), (x, y-2), (x+2, y+2), (x+2, y-2), (x-2, y+2), (x-2, y-2)This question was addressed to me in an interview.I would like to ask this question from Relationship between Pixels and Image Enhancement Basics in section Image Enhancement of Digital Image Processing

Answer»

Right choice is (b) (X+1, y), (x-1, y), (x, y+1), (x, y-1), (x+1, y+1), (x+1, y-1), (x-1, y+1), (x-1, y-1)

To elaborate: The set of PIXELS of 4-neighbors of p and Diagonal neighbors of p TOGETHER are called as 8-neighbors of PIXEL p(x, y).

98.

Image Shrinking has an undesirable feature, that is ____________(a) Aliasing effect(b) False contouring effect(c) Ridging effect(d) Checkerboard effectThis question was addressed to me in an international level competition.This intriguing question comes from Zooming and Shrinking Digital Images topic in portion Image Enhancement of Digital Image Processing

Answer»

Correct option is (a) Aliasing effect

To EXPLAIN: Although Image Shrinking USES the grid analogy of nearest neighbor interpolation, but that we now expand the grid to fit over the original image, do gray-level nearest neighbor or bilinear interpolation, causing the possible aliasing effect, and then shrink the grid BACK to its original specified size.

99.

Row-column deletion method of Image Shrinking is an equivalent process to which method of Zooming?(a) Bilinear Interpolation(b) Contouring(c) Pixel Replication(d) There is no such equivalent processThis question was posed to me in an internship interview.My doubt is from Zooming and Shrinking Digital Images in section Image Enhancement of Digital Image Processing

Answer» RIGHT choice is (C) Pixel Replication

Explanation: Row-column deletion METHOD is used to shrink an image by one-half, one-fourth and so on.

In case of one-half we delete every other row and column.
100.

What does the bilinear Interpolation do for gray-level assignment?(a) Assign gray level to the new pixel using its right neighbor(b) Assign gray level to the new pixel using its left neighbor(c) Assign gray level to the new pixel using its four nearest neighbors(d) Assign gray level to the new pixel using its eight nearest neighborsThe question was asked in homework.I would like to ask this question from Zooming and Shrinking Digital Images topic in portion Image Enhancement of Digital Image Processing

Answer»

The correct OPTION is (c) Assign gray level to the new pixel using its FOUR nearest neighbors

Best explanation: Bilinear INTERPOLATION uses the four nearest neighbors of the new pixel. Let (x’, y’) is the coordinates of a POINT in the zoomed IMAGE and the gray level assigned to the point is v(x, y’).

For bilinear interpolation, the assigned gray level is given by

 v(x’, y’) = ax’ + by’ + cx’y’ + d

Here, a, b, c and d are determined from the four equations in four unknowns that can be written using the four nearest neighbors of point (x’, y’).