Digital Image Processing Interview Questions & Answers

  1. Question 1. Define Image?

    Answer :

    An Image may be defined as a two dimensional function f (x,y) where x & y are spatial (plane) coordinates, and the amplitude of f at any pair of coordinates (x,y) is called intensity or gray level of the image at that point. When x,y and the amplitude values of f are all finite, discrete quantities we call the image as Digital Image.

  2. Question 2. Define Image Sampling?

    Answer :

    Digitization of spatial coordinates (x,y) is called Image Sampling. To be suitable for computer processing, an image function f(x,y) must be digitized both spatially and in magnitude.

  3. Python Interview Questions

  4. Question 3. Define Quantization ?

    Answer :

    Digitizing the amplitude values is called Quantization. Quality of digital image is determined to a large degree by the number of samples and discrete gray levels used in sampling and quantization.

  5. Question 4. What Is Dynamic Range?

    Answer :

    The range of values spanned by the gray scale is called dynamic range of an image. Image will have high contrast, if the dynamic range is high and image will have dull washed out gray look if the dynamic range is low.

  6. Python Tutorial

  7. Question 5. Define Mach Band Effect?

    Answer :

    The spatial interaction of Luminance from an object and its surround creates a Phenomenon called the mach band effect.

  8. MATLAB Interview Questions

  9. Question 6. Define Brightness?

    Answer :

    Brightness of an object is the perceived luminance of the surround. Two objects with different surroundings would have identical luminance but different brightness.

  10. Question 7. Define Tapered Quantization?

    Answer :

    If gray levels in a certain range occur frequently while others occurs rarely, the quantization levels are finely spaced in this range and coarsely spaced outside of it.This method is sometimes called Tapered Quantization.

  11. MATLAB Tutorial
    Machine design Interview Questions

  12. Question 8. What Do You Meant By Gray Level?

    Answer :

    Gray level refers to a scalar measure of intensity that ranges from black to grays and finally to white.

  13. Question 9. Define Resolutions?

    Answer :

    Resolution is defined as the smallest number of discernible detail in an image. Spatial resolution is the smallest discernible detail in an image and gray level resolution refers to the smallest discernible change is gray level.

  14. Machine learning Interview Questions

  15. Question 10. Write The M X N Digital Image In Compact Matrix Form?

    Answer :

    f(x,y )= f(0,0) f(0,1)………………f(0,N-1)

    f(1,0) f(1,1)………………f(1,N-1)

    .

    .

    .

    f(M-1) f(M-1,1)…………f(M-1,N-1)

  16. wxPython Tutorial

  17. Question 11. Write The Expression To Find The Number Of Bits To Store A Digital Image?

    Answer :

    The number of bits required to store a digital image is

    b=M X N X k

    When M=N, this equation becomes

    b=N^2k

  18. wxPython Interview Questions

  19. Question 12. What Do You Meant By Zooming Of Digital Images?

    Answer :

    Zooming may be viewed as over sampling. It involves the creation of new pixel locations and the assignment of gray levels to those new locations.

  20. Python Interview Questions

  21. Question 13. What Do You Meant By Shrinking Of Digital Images?

    Answer :

    Shrinking may be viewed as under sampling. To shrink an image by one half, we delete every row and column. To reduce possible aliasing effect, it is a good idea to blue an image slightly before shrinking it.

  22. Digital Signal Processing Tutorial

  23. Question 14. Define The Term Radiance?

    Answer :

    Radiance is the total amount of energy that flows from the light source, and it is usually measured in watts (w).

  24. Question 15. Define The Term Luminance?

    Answer :

    Luminance measured in lumens (lm), gives a measure of the amount of energy an observer perceiver from a light source.

  25. Angular 5 Interview Questions

  26. Question 16. What Is Image Transform?

    Answer :

    An image can be expanded in terms of a discrete set of basis arrays called basis images. Unitary matrices can generate these basis images. Alternatively, a given NXN image can be viewed as an N^2X1 vectors. An image transform provides a set of coordinates or basis vectors for vector space.

  27. Question 17. What Are The Applications Of Transform?

    Answer :

    1. To reduce band width
    2. To reduce redundancy
    3. To extract feature.
  28. Digital Signal Processing Interview Questions

  29. Question 18. Give The Conditions For Perfect Transform?

    Answer :

    Transpose of matrix = Inverse of a matrix. Orthoganality.

  30. MATLAB Interview Questions

  31. Question 19. What Are The Properties Of Unitary Transform?

    Answer :

    1. Determinant and the Eigen values of a unitary matrix have unity magnitude
    2. The entropy of a random vector is preserved under a unitary Transformation
    3. Since the entropy is a measure of average information, this means information is preserved under a unitary transformation.
  32. Question 20. Write The Expression Of One-dimensional Discrete Fourier Transforms?

    Answer :

    Forward transform

    The sequence of x(n) is given by x(n) = { x0,x1,x2,… xN-1}.

    X(k) = (n=0 to N-1) _ x(n) exp(-j 2* pi* nk/N) ; k= 0,1,2,…N-1

    Reverse transforms

    X(n) = (1/N) (k=0 to N-1) _ x(k) exp(-j 2* pi* nk/N) ; n= 0,1,2,…N-1

  33. Electrical Machines Interview Questions

  34. Question 21. Properties Of Twiddle Factor?

    Answer :

    1. Periodicity

    WN^(K+N)= WN^K

    2. Symmetry

    WN^(K+N/2)= -WN^K

  35. Question 22. Give The Properties Of One-dimensional Dft?

    Answer :

    1. The DFT and unitary DFT matrices are symmetric.
    2. The extensions of the DFT and unitary DFT of a sequence and their inverse transforms are periodic with period N.
    3. The DFT or unitary DFT of a real sequence is conjugate symmetric about N/2.
  36. Question 23. Give The Properties Of Two-dimensional Dft?

    Answer :

    1. Symmetric
    2. Periodic extensions
    3. Sampled Fourier transform
    4. Conjugate symmetry.
  37. Question 24. What Is Cosine Transform?

    Answer :

    The NXN cosine transform c(k) is called the discrete cosine transform and is defined as

    C(k) = 1/_N , k=0, 0 _ n _ N-1 = _ (2/N) cos (pi (2n+1)/2N 1_ k _ N-1, 0_ n _ N-1

  38. Machine design Interview Questions

  39. Question 25. Write The Properties Of Cosine Transform?

    Answer :

    1. Real & orthogonal.
    2. Fast transform.
    3. Has excellent energy compaction for highly correlated data
  40. Question 26. Write The Properties Of Sine Transform?

    Answer :

    1. Real, symmetric and orthogonal.
    2. Not the imaginary part of the unitary DFT.
    3. Fast transform.
  41. Question 27. Write The Properties Of Hadamard Transform?

    Answer :

    1. Hadamard transform contains any one value.
    2. No multiplications are required in the transform calculations.
    3. The no: of additions or subtractions required can be reduced from N^2 to Nlog2N
    4. Very good energy compaction for highly correlated images.
  42. Machine learning Interview Questions

  43. Question 28. Define Haar Transform?

    Answer :

    The Haar functions are defined on a continuous interval Xe [0,1] and for K=0,1,……. N-1.Where N=2^n. The integer k can be uniquely decomposed as K=2^P+Q-1.

  44. Question 29. Write The Expression For Hadamard Transforms?

    Answer :

    Hadamard transform matrices Hn are NXN matrices where N=2^n , n= 1,2,3,… is defined as Hn= Hn-1 * H1 = H1* Hn-1

    = 1/ _ 2 Hn-1 Hn-1

    H2 = 1 1

    1 –1

  45. Question 30. What Are The Properties Of Haar Transform?

    Answer :

    1. Haar transform is real and orthogonal.
    2. Haar transform is a very fast transform
    3. Haar transform has very poor energy compaction for images
    4. The basic vectors of Haar matrix sequency ordered.
  46. Question 31. What Are The Properties Of Slant Transform?

    Answer :

    1. Slant transform is real and orthogonal.
    2. Slant transform is a fast transform
    3. Slant transform has very good energy compaction for images
    4. The basic vectors of Slant matrix are not sequency ordered.
  47. Question 32. Define Of Kl Transform?

    Answer :

    KL Transform is an optimal in the sense that it minimizes the mean square error between the vectors X and their approximations X^. Due to this idea of using the Eigenvectors corresponding to largest Eigen values. It is also known as principal component transform.

  48. Question 33. Justify That Klt Is An Optimal Transform?

    Answer :

    Since mean square error of reconstructed image and original image is minimum and the mean value of transformed image is zero so that uncorrelated.

  49. wxPython Interview Questions

  50. Question 34. Explain The Term Digital Image?

    Answer :

    The digital image is an array of real or complex numbers that is represented by a finite no of bits.

  51. Question 35. Write Any Four Applications Of Dip?

    Answer :

    1. Remote sensing
    2. Image transmission and storage for business application
    3. Medical imaging
    4. Astronomy
  52. Question 36. What Is The Effect Of Mach Band Pattern?

    Answer :

    The intensity or the brightness pattern perceive a darker stribe in region D and brighter stribe in region B.This effect is called Mach band pattern or effect.

  53. Angular 5 Interview Questions

  54. Question 37. Write Down The Properties Of 2d Fourier Transform?

    Answer :

    • Separability
    • Translation
    • Periodicity and Conjugate property
    • Rotation
    • Distributivity and scaling
    • Average value
    • Convolution and Correlation
    • Laplacian
  55. Question 38. Obtain The Hadamard Transformation For N = 4?

    Answer :

            N = 4 = 2n

             => n = 2

  56. Question 39. Write Down The Properties Of Haar Transform?

    Answer :

    • Real and orthogonal
    • Very fast transform
    • Basis vectors are sequentially ordered
    • Has fair energy compaction for image
    • Useful in feature extraction,image coding and image analysis problem
  57. Question 40. What Is Image Enhancement?

    Answer :

    Image enhancement is to process an image so that the output is more suitable for specific application.

  58. Digital Signal Processing Interview Questions

  59. Question 41. Name The Categories Of Image Enhancement And Explain?

    Answer :

    The categories of Image Enhancement are

    1. Spatial domain
    2. Frequency domain Spatial domain: It refers to the image plane, itself and it is based on direct manipulation of pixels of an image.

    Frequency domain techniques are based on modifying the Fourier transform of an image.

  60. Question 42. What Do You Mean By Point Processing?

    Answer :

    Image enhancement at any Point in an image depends only on the gray level at that point is often referred to as Point processing.

  61. Electrical Machines Interview Questions

  62. Question 43. Explain Mask Or Kernels?

    Answer :

    A Mask is a small two-dimensional array, in which the value of the mask coefficient determines the nature of the process, such as image sharpening.

  63. Question 44. What Is Image Negatives?

    Answer :

    The negative of an image with gray levels in the range [0, L-1] is obtained by using the negative transformation, which is given by the expression.

    s = L-1-r

    Where s is output pixel.

    r is input pixel.

  64. Question 45. Define Histogram?

    Answer :

    The histogram of a digital image with gray levels in the range [0, L-1] is a discrete function h (rk) = nk, where rk is the kth gray level and nk is the number of pixels in the image having gray level rk.

  65. Question 46. Define Derivative Filter?

    Answer :

    For a function f (x, y), the gradient f at co-ordinate (x, y) is defined as the

    vector_f = _f/_x

    _f/_y

    _f = mag (_f) = {[(_f/_x) 2 +(_f/_y) 2 ]} ½

  66. Question 47. Explain Spatial Filtering?

    Answer :

    Spatial filtering is the process of moving the filter mask from point to point in an image. For linear spatial filter, the response is given by a sum of products of the filter coefficients, and the corresponding image pixels in the area spanned by the filter mask.

  67. Question 48. Define Averaging Filters?

    Answer :

    The output of a smoothing, linear spatial filter is the average of the pixels contain in the neighborhood of the filter mask. These filters are called averaging filters.

  68. Question 49. What Is A Median Filter?

    Answer :

    The median filter replaces the value of a pixel by the median of the gray levels in the neighborhood of that pixel.

  69. Question 50. What Is Maximum Filter And Minimum Filter?

    Answer :

    The 100th percentile is maximum filter is used in finding brightest points in an image. The 0th percentile filter is minimum filter used for finding darkest points in an image.