IT-703-D Digital Image Processing

Digital Image Processing (IT-703-D) Important Questions

RGPV · B.Tech · IT · Semester 7 · Current scheme · 2 papers (2020 to 2023)

  1. Read the answers

    Start with the topics that come every year.

  2. Revise unit notes

    Go through each unit once to score more.

Paperwala Imp Topics - Digital Image Processing important questions

Download Paperwala Imp Question & Answer (PDF)

Counted from the questions in the past papers listed on this site. Repeated = how many times the topic came in those papers.

Digital Image Processing important questions with answers

Each answer starts with the short answer. Then come the points to write, a diagram and an exam tip. The questions under each topic are copied from the RGPV papers.

Q1. Noise models (probability density functions) and estimating noise parameters

Asked 2 times in 2020, 2023 · Unit 3

From the papers

  • “What are the different approaches to estimate the noise parameters in an image? Explain.” (Nov 2023)
  • “List out different noise probability density functions used in image processing applications.” (Dec 2020)

The short answer

In restoration, the observed image is g(x, y) = f(x, y) + η(x, y), where η is noise. Noise is described by its probability density function (PDF). Knowing which PDF fits and its parameters (mean, variance) tells us which filter to use. Parameters are estimated from the imaging system or from a flat patch of the image itself.

Write these points

Noise PDFs

NoisePDFMean and varianceWhere it occurs
Gaussianp(z) = (1/√(2π)σ) e^(−(z − μ)²/2σ²)μ and σ²Sensor and circuit noise, poor light
Rayleighp(z) = (2/b)(z − a) e^(−(z − a)²/b) for z ≥ aa + √(πb/4); b(4 − π)/4Range imaging
Erlang (gamma)p(z) = aᵇ zᵇ⁻¹ e^(−az) / (b − 1)!b/a; b/a²Laser imaging
Exponentialp(z) = a e^(−az), z ≥ 01/a; 1/a²Laser imaging (Erlang with b = 1)
Uniformp(z) = 1/(b − a) for a ≤ z ≤ b(a + b)/2; (b − a)²/12Quantization, simulation
Impulse (salt and pepper)p(a) = Pa, p(b) = Pbtwo spikesFaulty switching, transmission errors

Estimating noise parameters

  1. From the imaging system: photograph a flat, evenly lit target; the variation in the image is the noise.
  2. From the image: choose a small strip S of constant background; plot its histogram and match its shape to a PDF.
  3. Compute mean μ = Σ zᵢ p(zᵢ) and variance σ² = Σ (zᵢ − μ)² p(zᵢ) over the strip; get a and b from them.
  4. Impulse noise: count the black and white pixels in a mid-grey area to get Pa and Pb.
  5. Periodic noise: look for spikes in the Fourier spectrum.

Estimating Gaussian noise from a strip.

A flat strip has pixel values 100, 104, 96, 102 and 98.

Mean μ = 500 / 5 = 100.

Variance σ² = (0 + 16 + 16 + 4 + 4) / 5 = 8, so σ ≈ 2.83.

The histogram is bell shaped, so the noise is Gaussian with μ = 100 (zero mean about the true value) and σ ≈ 2.8.

Real-life example

A radio that hisses in the same way every evening tells you the kind of interference. Once you know it, you choose the right filter.

Figure: estimating noise from an image
Figure: estimating noise from an image

Same or opposite: Gaussian and impulse noise

PointGaussian noiseImpulse noiseSame or opposite
AffectsEvery pixel a littleA few pixels fullyOpposite
Is additive noise modelled by a PDFYesYesSame
Best filterArithmetic or WienerMedianOpposite
Histogram shapeBell curveTwo spikesOpposite

Exam tip. Draw the PDF table with formulas and sources. Write the steps to estimate parameters from a flat strip, with the mean and variance formulas.

Back to the topic list

Q2. Restoration filters: minimum mean square error (Wiener) filtering and the geometric mean filter

Asked 2 times in 2020, 2023 · Unit 3

From the papers

  • “Explain about image restoration using minimum mean square error filtering.” (Dec 2020, Nov 2023)
  • “Write short note: Wiener filtering.” (Dec 2020, Nov 2023)

The short answer

The degradation model is G(u, v) = H(u, v) F(u, v) + N(u, v). Inverse filtering (F̂ = G/H) blows up noise where H is small. The Wiener (minimum mean square error) filter finds the estimate f̂ that minimizes e² = E{(f − f̂)²}, balancing blur removal against noise. The geometric mean filter is a smoothing filter that multiplies neighbourhood pixels; its frequency domain form blends inverse and Wiener filtering.

Write these points

Wiener filter

  • F̂(u, v) = [ H*(u, v) / ( |H(u, v)|² + Sη(u, v)/Sf(u, v) ) ] G(u, v).
  • Sη and Sf are the power spectra of noise and of the original image; their ratio is the noise to signal ratio.
  • When the ratio is unknown, use a constant K: F̂ = [ (1/H) · |H|² / (|H|² + K) ] G, tuning K by eye.
  • If noise is zero (K = 0) it becomes the inverse filter; where H is small the K term stops division by zero.

Geometric mean filter

  • Spatial form: f̂(x, y) = [ Π g(s, t) over the m × n window ]^(1/mn).
  • Smooths like the arithmetic mean but loses less detail; poor for pepper noise (a 0 makes the product 0).
  • Frequency form: F̂ = [H*/|H|²]^α · [H* / (|H|² + β Sη/Sf)]^(1 − α) G.
  • α = 1 gives the inverse filter, α = 0 and β = 1 the Wiener filter, α = 1/2 the spectrum equalization filter.

Arithmetic and geometric mean on one window.

A 3 × 3 window has eight pixels of 100 and one noisy pixel of 200.

Arithmetic mean = (800 + 200) / 9 = 111.1.

Geometric mean = (100⁸ × 200)^(1/9) = 100 × 2^(1/9) = 100 × 1.08 = 108.0.

The geometric mean stays closer to the true 100, so detail suffers less blurring.

Real-life example

Removing a blur by turning up the treble on music also makes the hiss louder. The Wiener filter turns up the treble only where the music is stronger than the hiss.

Figure: restoration with a Wiener filter
Figure: restoration with a Wiener filter

Same or opposite: inverse and Wiener filtering

PointInverse filterWiener filterSame or opposite
FormulaF̂ = G / HAdds the noise to signal ratioOpposite
Undoes the degradation HYesYesSame
Behaviour with noiseNoise blows upNoise kept lowOpposite
Needs noise statisticsNoYes (or a constant K)Opposite

Exam tip. Write the degradation model, the MMSE criterion and the Wiener formula with the K form. Explain the geometric mean filter in spatial and frequency form with the α cases.

Back to the topic list

Q3. Homomorphic filtering

Asked 2 times in 2020, 2023 · Unit 3

From the papers

  • “With necessary equations, explain the concept of homomorphic filtering.” (Dec 2020, Nov 2023)

The short answer

An image can be modelled as f(x, y) = i(x, y) · r(x, y): illumination times reflectance. Illumination changes slowly (low frequencies); reflectance changes sharply at object edges (high frequencies). Homomorphic filtering takes the logarithm to turn the product into a sum, filters in the frequency domain to reduce illumination and boost reflectance, then takes the exponential. It improves dynamic range and contrast at the same time.

Write these points

Steps with equations

  1. z(x, y) = ln f(x, y) = ln i(x, y) + ln r(x, y).
  2. Z(u, v) = Fi(u, v) + Fr(u, v) (Fourier transform).
  3. S(u, v) = H(u, v) Z(u, v) = H Fi + H Fr.
  4. s(x, y) = inverse DFT of S = i′(x, y) + r′(x, y).
  5. g(x, y) = e^s = e^(i′) · e^(r′) = i₀(x, y) · r₀(x, y).

Filter design

  • H(u, v) = (γH − γL)[1 − e^(−c D²(u, v)/D0²)] + γL.
  • γL < 1 lowers low frequencies (illumination): dynamic range shrinks.
  • γH > 1 raises high frequencies (reflectance): contrast and edges improve.
  • c sets how sharply H rises between γL and γH.
  • Use: images with uneven lighting, such as a room with a bright window and dark corners.

Effect on two pixels.

Choose γL = 0.5 and γH = 2.

Illumination ratio between a lit and a shadowed area: 10 : 1. After the filter: 10^0.5 ≈ 3.16 : 1, so shadows become visible.

Reflectance ratio between a white and a grey object: 4 : 1. After the filter: 4² = 16 : 1, so detail stands out.

Result: less lighting difference, more object contrast.

Real-life example

A photo taken against a sunny window shows a dark face. Homomorphic filtering is like evening out the light in the room while keeping the face's features sharp.

Figure: homomorphic filtering
Figure: homomorphic filtering

Same or opposite: homomorphic and ordinary high pass filtering

PointHomomorphicOrdinary high passSame or opposite
Works onln f (product made a sum)f directlyOpposite
Boosts high frequenciesYesYesSame
Low frequenciesKept at γLRemovedOpposite
EffectRange compression and contrastEdges onlyOpposite

Exam tip. Write the i · r model and the five steps with equations. Give H(u, v) with γL < 1 < γH and draw the block diagram.

Back to the topic list

Q4. Sharpening with Butterworth and Gaussian high pass filters (frequency domain)

Asked 2 times in 2020, 2023 · Unit 3

From the papers

  • “Explain image sharpening using Butterworth highpass and Gaussian highpass filters.” (Dec 2020, Nov 2023)

The short answer

Sharpening in the frequency domain keeps high frequencies (edges, fine detail) and cuts low ones: H_HP(u, v) = 1 − H_LP(u, v). D(u, v) is the distance from the centre of the frequency rectangle and D0 is the cut-off. The Butterworth and Gaussian high pass filters are smooth versions of the ideal filter, so they give much less ringing.

Write these points

Three high pass filters

FilterH(u, v)Ringing
Ideal0 if D ≤ D0, 1 if D > D0Strong
Butterworth of order n1 / [1 + (D0 / D(u, v))²ⁿ]Little for n = 2, more as n grows
Gaussian1 − e^(−D²(u, v) / 2D0²)None

Procedure

  1. Multiply f(x, y) by (−1)^(x + y) to centre the transform.
  2. Compute F(u, v) with the DFT (pad to 2M × 2N).
  3. Multiply by H(u, v).
  4. Take the inverse DFT, keep the real part, multiply by (−1)^(x + y) again.
  • High pass output has mean zero, so the image looks dark; high frequency emphasis uses k1 + k2 H_HP to keep the background.
  • Larger D0 removes more; Butterworth order n controls the sharpness of the cut.

Filter values at three distances (D0 = 30, Butterworth n = 2).

D = 15: Butterworth 1 / (1 + 2⁴) = 0.059; Gaussian 1 − e^(−0.125) = 0.118.

D = 30: Butterworth 0.5; Gaussian 1 − e^(−0.5) = 0.393.

D = 60: Butterworth 1 / (1 + 0.5⁴) = 0.941; Gaussian 1 − e^(−2) = 0.865.

Both pass high frequencies and block low ones smoothly, unlike the ideal filter's sudden jump.

Real-life example

Hearing only the cymbals of a song after turning the bass to zero is high pass filtering. Edges in an image are the cymbals.

Figure: ideal, Butterworth and Gaussian high pass filters
Figure: ideal, Butterworth and Gaussian high pass filters

Same or opposite: Butterworth and Gaussian high pass filters

PointButterworthGaussianSame or opposite
ParameterOrder n and D0D0 onlyOpposite
Sharpens by passing high frequenciesYesYesSame
RingingSlight for higher nNoneOpposite
TransitionAdjustable sharpnessAlways smoothOpposite

Exam tip. Write H = 1 − H_LP and the three formulas with D(u, v). List the four steps of frequency filtering, then compare ringing and draw the curves.

Back to the topic list

Q5. Region based segmentation; region oriented and motion based segmentation

Asked 2 times in 2020, 2023 · Unit 4

From the papers

  • “Discuss about region based segmentation.” (Dec 2020, Nov 2023)
  • “Differentiate between region oriented segmentation and motion based segmentation.” (Nov 2023)

The short answer

Segmentation divides an image into regions that belong to objects. Region based (region oriented) segmentation finds regions directly by grouping pixels with similar properties, instead of finding edges first. Its two methods are region growing and region splitting and merging. Motion based segmentation separates moving objects by comparing frames over time.

Write these points

Conditions for a segmentation into regions R1 ... Rn

  • Every pixel belongs to some region; the union of regions is the whole image.
  • Each region is connected; regions do not overlap.
  • P(Ri) = TRUE for each region (for example, grey levels within a range).
  • P(Ri ∪ Rj) = FALSE for adjacent regions.

Methods

  • Region growing: start from seed pixels; add a neighbour if it is similar (|value − seed| ≤ T); stop when no pixel qualifies.
  • Split and merge: split any region where P is FALSE into four quadrants (quadtree); merge adjacent regions where P of the union is TRUE; repeat.
  • Motion based: difference image d(x, y) = 1 if |f(x, y, t1) − f(x, y, t2)| > T; accumulative difference images; frequency domain methods.
PointRegion orientedMotion based
InputOne imageSequence of frames
BasisSimilarity of grey level, colour, textureChange over time
FindsAll regionsMoving objects
ExampleTumour in an MRI sliceCar in traffic video

Region growing on one row.

Row of pixels: 50, 52, 54, 70, 72. Seed = 50, threshold T = 5.

52: |52 − 50| = 2 ≤ 5, add. 54: |54 − 50| = 4 ≤ 5, add.

70: |70 − 50| = 20 > 5, stop; 70 and 72 start another region.

Result: region 1 = {50, 52, 54}, region 2 = {70, 72}.

Real-life example

Sorting a heap of marbles by colour, starting from one red marble and adding every red neighbour, is region growing.

Figure: split and merge
Figure: split and merge

Same or opposite: region growing and split and merge

PointRegion growingSplit and mergeSame or opposite
Starts fromSeed pixelsWhole imageOpposite
Uses a similarity predicate PYesYesSame
DirectionBottom upTop down, then mergeOpposite
Needs seedsYesNoOpposite

Exam tip. Write the five conditions of segmentation. Explain region growing and quadtree split and merge, then add the region versus motion table with the difference image formula.

Back to the topic list

Q6. Morphology: erosion, dilation and basic algorithms (boundary extraction, hole filling)

Asked 2 times in 2020, 2023 · Unit 5

From the papers

  • “Explain the following morphological operations: Erosion, Dilation.” (Nov 2023)
  • “Explain the following morphological algorithms: Boundary extraction, Hole filling.” (Nov 2023)
  • “What is Morphology? Discuss basic morphological algorithms.” (Dec 2020)

The short answer

Mathematical morphology processes shapes in an image using set theory. A small shape called the structuring element B is moved over the image A. The two basic operations are erosion (shrinks objects) and dilation (grows objects). Opening, closing and algorithms such as boundary extraction and hole filling are built from them.

Write these points

Basic operations

  • Erosion: A ⊖ B = { z : (B)z ⊆ A }: the points where B fits fully inside A. Removes small specks, thins objects.
  • Dilation: A ⊕ B = { z : (B̂)z ∩ A ≠ ∅ }: the points where B touches A. Fills small gaps, thickens objects.
  • Opening: A ∘ B = (A ⊖ B) ⊕ B: removes thin protrusions and small objects.
  • Closing: A • B = (A ⊕ B) ⊖ B: fills small holes and narrow gaps.

Basic morphological algorithms

  • Boundary extraction: β(A) = A − (A ⊖ B).
  • Hole filling: Xk = (Xk−1 ⊕ B) ∩ Aᶜ, starting from X0 = a point inside the hole; stop when Xk = Xk−1; answer Xk ∪ A.
  • Connected components: Xk = (Xk−1 ⊕ B) ∩ A.
  • Convex hull, thinning, thickening, skeletons, pruning.

Counting pixels in the figure.

A is a 4 × 5 rectangle: 20 pixels. B is a 3 × 3 square.

Erosion removes one pixel all round: 2 × 3 = 6 pixels.

Dilation adds one pixel all round: 6 × 7 = 42 pixels.

Boundary = A − (A ⊖ B) = 20 − 6 = 14 pixels.

Real-life example

Sanding a wooden block makes it smaller and smooths corners, like erosion. Adding a layer of paint makes it bigger and fills scratches, like dilation.

Figure: erosion, dilation and boundary extraction
Figure: erosion, dilation and boundary extraction

Same or opposite: erosion and dilation

PointErosionDilationSame or opposite
Effect on objectsShrinkGrowOpposite
Uses a structuring elementYesYesSame
RemovesSmall specksSmall holes and gapsOpposite
SymbolA ⊖ BA ⊕ BOpposite

Exam tip. Define morphology and B. Write erosion, dilation, opening and closing with set formulas. Give boundary extraction and the hole filling iteration with a pixel count example.

Back to the topic list

Q7. Image compression: general model, need, lossy predictive coding, vector quantization

Asked 2 times in 2020, 2023 · Unit 4

From the papers

  • “What is the need of compression? Explain about vector quantization method.” (Nov 2023)
  • “Draw a neat block diagram for encoder and decoder in a lossy predictive coding model and explain its working.” (Nov 2023)
  • “Draw and explain the general image compression system model.” (Dec 2020)

The short answer

Image compression reduces the number of bits needed to store or send an image by removing redundancy: coding redundancy, interpixel (spatial) redundancy and psychovisual redundancy. The general model has an encoder (mapper, quantizer, symbol encoder) and a decoder (symbol decoder, inverse mapper). Lossy predictive coding and vector quantization are two lossy methods.

Write these points

Need for compression

  • A 1024 × 1024 colour image with 24 bits per pixel needs 3 MB; video at 30 frames a second needs about 90 MB per second.
  • Saves storage, bandwidth, transmission time and cost.
  • Needed for web pages, mobile phones, medical archives, satellite links.

General compression system model

  1. Mapper: transforms the image to reduce interpixel redundancy (run lengths, differences, DCT); reversible.
  2. Quantizer: reduces accuracy to remove psychovisual redundancy; irreversible, so omitted in lossless coding.
  3. Symbol encoder: assigns short codes to frequent symbols (Huffman, arithmetic) to remove coding redundancy.
  4. Decoder: symbol decoder and inverse mapper (no inverse quantizer exists).

Lossy predictive coding and vector quantization

  • Predictive coding: predict f̂n from previous decoded pixels, quantize the error en = fn − f̂n and code it. The predictor sits in a feedback loop so encoder and decoder use the same ḟn.
  • Delta modulation is the simplest case: predictor ḟn−1, quantizer ±ζ (1 bit per pixel).
  • Vector quantization: split the image into blocks (for example 4 × 4); build a codebook of typical blocks (LBG algorithm); send only the index of the nearest codeword.
  • With a 256-entry codebook and 4 × 4 blocks: 8 bits per 16 pixels = 0.5 bits per pixel.

Compression ratio and prediction errors.

A 512 × 512 8-bit image = 262,144 bytes; compressed size = 32,768 bytes.

Compression ratio C = 262,144 / 32,768 = 8; relative redundancy R = 1 − 1/C = 0.875.

Pixels 100, 102, 105, 107 with predictor 'previous pixel' give errors 2, 3, 2: small numbers need fewer bits.

Quantizing the errors to even numbers (2, 4, 2) adds a small loss in exchange for fewer symbols.

Real-life example

Packing for a trip by rolling clothes and leaving out what you will not need is compression. The rolled clothes unroll exactly; the left-out items are the lossy part.

Figure: lossy predictive coding encoder and decoder
Figure: lossy predictive coding encoder and decoder

Same or opposite: lossless and lossy compression

PointLosslessLossySame or opposite
QuantizerNot usedUsedOpposite
Removes redundancy to save bitsYesYesSame
Exact recoveryYesNoOpposite
Typical ratio2 to 310 to 50Opposite

Exam tip. Write the need with a size calculation and the three redundancies. Draw the general encoder and decoder model and the predictive coding loop. Explain vector quantization with a codebook.

Back to the topic list

Q8. Spatial domain enhancement: point operations, histogram processing (including colour), sharpening masks

Asked 2 times in 2020, 2023 · Unit 2

From the papers

  • “Explain about histogram processing of color images.” (Nov 2023)
  • “Discuss how the various filter masks are generated to sharpen images in spatial filters.” (Dec 2020)
  • “Explain spatial filtering in image enhancement.” (Dec 2020)
  • “Write short note: Image point operations.” (Nov 2023)

The short answer

Spatial domain enhancement works on the pixels themselves. Point operations (gray level transformations, histogram processing) change each pixel using only its own value: s = T(r). Spatial filtering moves a mask (kernel) over the image and replaces each pixel with a weighted sum of its neighbourhood. Smoothing masks average; sharpening masks use derivatives.

Write these points

Point operations

  • Negative s = L − 1 − r; log s = c log(1 + r); power law (gamma) s = c rᵞ; contrast stretching; thresholding; bit plane slicing.
  • Histogram equalization: sk = (L − 1) Σ pr(rj) for j = 0 to k, spreading grey levels to use the full range.
  • Colour histograms: equalize the intensity component in HSI; equalizing R, G and B separately would change the hues.

Spatial filtering and sharpening masks

  • g(x, y) = Σ Σ w(s, t) f(x + s, y + t): correlation of the mask w with the image.
  • Smoothing: box filter (all 1/9), weighted average; median filter (non-linear) for salt and pepper noise.
  • Laplacian (second derivative): ∇²f = f(x + 1, y) + f(x − 1, y) + f(x, y + 1) + f(x, y − 1) − 4f(x, y), mask [0 1 0; 1 −4 1; 0 1 0]; sharpen with g = f − ∇²f.
  • Gradient (first derivative): Sobel masks [−1 −2 −1; 0 0 0; 1 2 1] and its transpose; magnitude ≈ |gx| + |gy|.
  • Unsharp masking and high boost: mask = f − blurred f; g = f + k · mask (k > 1 is high boost).

Laplacian sharpening and histogram equalization.

Centre pixel 50 with four neighbours of 40: ∇²f = 4 × 40 − 4 × 50 = −40; g = 50 − (−40) = 90. The edge pixel is brightened.

Histogram: 10 pixels with levels 0, 1, 2, 3 (L = 4) and counts 6, 2, 1, 1.

Cumulative p = 0.6, 0.8, 0.9, 1.0; s = 3 × cumulative = 1.8, 2.4, 2.7, 3.0.

Rounded: 0 → 2, 1 → 2, 2 → 3, 3 → 3; the dark crowd moves up the scale.

Real-life example

Adjusting brightness on a phone photo changes every pixel the same way: a point operation. Running a soft brush over a blemish uses the neighbours: a spatial filter.

Figure: spatial domain enhancement
Figure: spatial domain enhancement

Same or opposite: point operation and spatial filtering

PointPoint operationSpatial filteringSame or opposite
UsesOne pixel's valueA neighbourhoodOpposite
Works in the spatial domainYesYesSame
ExampleGamma, histogram equalizationLaplacian, medianOpposite
Can blur or sharpenNoYesOpposite

Exam tip. List point operations with formulas and histogram equalization. Give the filtering sum, the Laplacian and Sobel masks, unsharp masking, then a numeric example.

Back to the topic list

Q9. Image sampling and quantization

Asked 2 times in 2020, 2023 · Unit 1

From the papers

  • “Explain about image sampling and quantization.” (Nov 2023)
  • “Write short note: Sampling.” (Dec 2020)

The short answer

A camera gives a continuous image f(x, y). To store it in a computer we must make both the coordinates and the amplitude discrete. Sampling digitizes the coordinates (how many pixels). Quantization digitizes the amplitude (how many grey levels). An image of M × N pixels with k bits per pixel has L = 2ᵏ grey levels and needs b = M × N × k bits.

Write these points

Process

  1. Take a scan line of the continuous image: a continuous intensity curve.
  2. Sample it at equally spaced points (spatial resolution).
  3. Quantize each sample to the nearest of L levels (intensity resolution).
  4. Repeat for every line to get an M × N matrix of integers.

Effects of too little resolution

  • Undersampling: checkerboard (blocky) pixels and aliasing such as moiré patterns; sample above twice the highest frequency (Nyquist).
  • Too few grey levels: false contouring, ridges in smooth areas (visible below about 16 to 32 levels).
  • Images with much detail need fine sampling; smooth images need more grey levels (isopreference curves).
  • Sensor arrays sample in the camera; the quality also depends on the sensor and optics.

Storage of an image.

Image 1024 × 1024 with 8 bits per pixel: L = 2⁸ = 256 levels.

b = 1024 × 1024 × 8 = 8,388,608 bits = 1,048,576 bytes = 1 MB.

With 4 bits per pixel: 16 levels, 0.5 MB, but false contours may appear.

Halving sampling to 512 × 512 at 8 bits: 0.25 MB, but fine detail is lost.

Real-life example

A mosaic artist decides how many tiles to use (sampling) and how many colours of tile to buy (quantization). Few tiles look blocky; few colours look banded.

Figure: from a scene to a digital image
Figure: from a scene to a digital image

Same or opposite: sampling and quantization

PointSamplingQuantizationSame or opposite
DigitizesCoordinatesAmplitudeOpposite
Needed to make a digital imageYesYesSame
DecidesSpatial resolution (M × N)Grey levels (L = 2ᵏ)Opposite
Artefact if too coarseCheckerboard, aliasingFalse contouringOpposite

Exam tip. Define both with the scan line explanation. Write b = M × N × k with a numeric example and the effects of coarse sampling and quantization.

Back to the topic list

Q10. Boundary and regional descriptors; texture analysis

Asked 2 times in 2020, 2023 · Unit 5

From the papers

  • “Explain boundary and regional descriptors.” (Dec 2020)
  • “Write short note: Texture analysis.” (Nov 2023)

The short answer

After segmentation, a region is represented by its boundary or its interior and then described by numbers that a classifier can use. Boundary descriptors describe the outline (length, shape number, Fourier descriptors). Regional descriptors describe the inside (area, compactness, topology, texture). Good descriptors do not change with translation, rotation and scale.

Write these points

Boundary descriptors

  • Length (number of boundary pixels) and diameter (largest distance between two boundary points); major and minor axes, eccentricity.
  • Chain codes (Freeman, 4 or 8 directions), their first difference and the shape number (smallest circular first difference).
  • Fourier descriptors: treat boundary points as complex numbers s(k) = x(k) + j y(k) and use the first few DFT coefficients.
  • Statistical moments of the boundary curve or its signature.

Regional descriptors and texture

  • Area, perimeter, compactness = perimeter² / area (4π for a circle, the minimum), circularity ratio.
  • Topological: Euler number E = C − H (connected components minus holes).
  • Texture analysis: statistical (mean, standard deviation, smoothness R = 1 − 1/(1 + σ²), third moment, uniformity, entropy).
  • Co-occurrence matrix (how often pairs of levels occur at a given offset); structural and spectral (Fourier) texture methods.
  • Principal components can align a region to its main axes before description.

Descriptors of simple shapes.

Square of side 4: perimeter 16, area 16, compactness 256 / 16 = 16.

Circle of radius 2: perimeter 4π ≈ 12.57, area 4π ≈ 12.57, compactness ≈ 12.57 (= 4π, the smallest possible).

The letter B has 1 component and 2 holes: E = 1 − 2 = −1. The letter A: E = 1 − 1 = 0.

A 4-direction chain code of a 2 × 1 rectangle starting bottom left: 0 0 1 2 2 3.

Real-life example

Describing a friend by the shape of their face is a boundary descriptor. Describing their shirt's pattern is texture, a regional descriptor.

Figure: descriptors
Figure: descriptors

Same or opposite: boundary and regional descriptors

PointBoundaryRegionalSame or opposite
UsesOutline pixelsAll interior pixelsOpposite
Gives numbers for recognitionYesYesSame
ExamplesChain code, Fourier descriptorsArea, Euler number, textureOpposite
Best forShapeColour, texture, topologyOpposite

Exam tip. List boundary descriptors with chain code and Fourier descriptors, then regional ones with compactness and the Euler number. Add texture measures and a numeric example.

Back to the topic list

Q11. Patterns, pattern classes and object recognition

Asked 2 times in 2020, 2023 · Unit 5

From the papers

  • “Write short note: Object recognition.” (Nov 2023)
  • “Write short note: Pattern and Pattern Classes.” (Dec 2020)

The short answer

A pattern is an arrangement of descriptors, written as a pattern vector x = (x1, x2, ..., xn) or a string or tree. A pattern class ω1, ..., ωW is a family of patterns that share properties (all images of the digit 5). Object recognition assigns each pattern to its class, by decision-theoretic methods (on vectors) or structural methods (on strings and trees).

Write these points

Decision-theoretic methods

  • Find decision functions d1(x) ... dW(x); assign x to ωi if di(x) > dj(x) for all j ≠ i.
  • Minimum distance classifier: dj(x) = xᵀmj − ½ mjᵀmj, where mj is the mean vector of class j.
  • Correlation (template) matching: slide a template over the image and find the peak of normalized correlation.
  • Bayes classifier: minimizes the average loss using class probabilities; Gaussian classes give quadratic decision functions.
  • Neural networks: learn the decision functions from training samples.

Structural methods

  • Describe shapes by primitives and their relations: strings (a b a b ...) or trees.
  • Match by shape numbers (degree of similarity) or string matching (R = α / β).
  • Use when relationships matter more than measurements (fingerprints, chromosomes).

Minimum distance classification.

Class means: m1 = (1, 1), m2 = (5, 5). Unknown pattern x = (2, 3).

d1(x) = (2 × 1 + 3 × 1) − ½(1 + 1) = 5 − 1 = 4.

d2(x) = (2 × 5 + 3 × 5) − ½(25 + 25) = 25 − 25 = 0.

d1 > d2, so x belongs to class ω1 (it is nearer m1).

Real-life example

A fruit seller sorts apples and oranges by size and colour without thinking: measuring features and choosing the nearest class is object recognition.

Figure: object recognition
Figure: object recognition

Same or opposite: decision-theoretic and structural recognition

PointDecision-theoreticStructuralSame or opposite
Pattern formVector of numbersString or treeOpposite
Assigns patterns to classesYesYesSame
MethodDistance, correlation, Bayes, neural netsShape numbers, string matchingOpposite
Best whenMeasurements matterShape relations matterOpposite

Exam tip. Define pattern, pattern vector and pattern class. Explain decision functions with the minimum distance formula and a worked example. Add structural methods.

Back to the topic list

Q12. Image transforms: linearity of the 2-D Fourier transform; Haar transform of a 2x2 image

Asked 2 times in 2020, 2023 · Unit 3

From the papers

  • “Prove that both the 2-D continuous and discrete Fourier transform are linear operations.” (Nov 2023)
  • “Compute the Haar transform of the 2 x 2 image F = [[3, -1], [6, 2]].” (Dec 2020)

The short answer

Image transforms move an image into another domain where some tasks are easier. The 2-D DFT is F(u, v) = Σ Σ f(x, y) e^(−j2π(ux/M + vy/N)). The Haar transform uses simple ±1 basis functions and is the first wavelet; for a 2 × 2 image T = H F Hᵀ with H = (1/√2)[1 1; 1 −1]. Both are linear: the transform of a sum is the sum of the transforms.

Write these points

Proof that the 2-D Fourier transform is linear

  1. Let h(x, y) = a f(x, y) + b g(x, y), with constants a and b.
  2. Continuous: H(u, v) = ∫∫ [a f + b g] e^(−j2π(ux + vy)) dx dy = a ∫∫ f e^(...) dx dy + b ∫∫ g e^(...) dx dy = a F(u, v) + b G(u, v), because integration is linear.
  3. Discrete: H(u, v) = Σ Σ [a f(x, y) + b g(x, y)] e^(−j2π(ux/M + vy/N)) = a F(u, v) + b G(u, v), because summation is linear.
  4. Hence both the continuous and the discrete 2-D Fourier transforms are linear operations.

Haar transform

  • Basis functions take values 0 and ±1 (scaled); they are orthonormal, so Hᵀ = H⁻¹.
  • First row: average (low frequency). Other rows: differences (detail).
  • Fast and simple: used in wavelet compression and edge detection.
  • Energy is preserved: the sum of squares is the same before and after.

Haar transform of F = [3 −1; 6 2].

H F = (1/√2)[3 + 6, −1 + 2; 3 − 6, −1 − 2] = (1/√2)[9 1; −3 −3].

T = (H F) Hᵀ = (1/2)[9 + 1, 9 − 1; −3 − 3, −3 + 3] = (1/2)[10 8; −6 0].

T = [5 4; −3 0].

Check energy: 9 + 1 + 36 + 4 = 50 and 25 + 16 + 9 + 0 = 50. The 5 is the scaled average; the others are details.

Real-life example

Hearing a chord, the ear separates it into notes. A transform separates an image into frequencies or into an average plus details in the same way.

Figure: computing a 2 × 2 Haar transform
Figure: computing a 2 × 2 Haar transform

Same or opposite: DFT and Haar transform

PointDFTHaar transformSame or opposite
Basis functionsComplex sines and cosinesSquare waves of ±1Opposite
Linear and invertibleYesYesSame
ValuesComplexRealOpposite
Localized in spaceNoYesOpposite

Exam tip. Prove linearity for both forms in four lines. Write H for 2 × 2 and compute T = H F Hᵀ step by step, ending with the energy check.

Back to the topic list

Q13. Fundamental steps and elements of a digital image processing system

Asked 1 time in 2020 · Unit 1

From the papers

  • “Discuss the fundamental steps involved in digital image processing.” (Dec 2020)
  • “What are the elements of digital image processing?” (Dec 2020)

The short answer

Digital image processing means processing a digital image with a computer. Its work follows fundamental steps from acquiring the image to recognizing the objects in it, all guided by a knowledge base about the problem. A DIP system is made of hardware and software elements that carry out these steps.

Write these points

Fundamental steps

  1. Image acquisition: capture with a sensor and digitize; may include scaling.
  2. Enhancement: make the image look better for a purpose (contrast, sharpening).
  3. Restoration: remove known degradations using models (deblurring, noise removal).
  4. Colour image processing, wavelets (multiresolution) and compression.
  5. Morphological processing: extract shape components.
  6. Segmentation: divide the image into objects.
  7. Representation and description: turn regions into boundary or regional features.
  8. Object recognition: assign labels (car, number plate) to objects.

Elements of a DIP system

  • Image sensors (CCD or CMOS) and a digitizer (analog to digital converter).
  • Specialized hardware (frame grabber, arithmetic logic unit) and a computer.
  • Software with modules for each task (MATLAB, OpenCV).
  • Mass storage (short-term, online, archival), displays, hard copy devices and a network.

Steps in a number plate reader.

Acquisition: a camera at a toll gate captures the car.

Enhancement and restoration: improve contrast at night; remove motion blur.

Segmentation: find the plate and then each character.

Description and recognition: compute features for each character and classify it; the knowledge base knows the plate format (MP 04 AB 1234).

Real-life example

Cooking a meal follows steps: buying vegetables, washing, cutting, cooking, serving. A recipe guides every step, just as the knowledge base guides image processing.

Figure: fundamental steps in digital image processing
Figure: fundamental steps in digital image processing

Same or opposite: enhancement and restoration

PointEnhancementRestorationSame or opposite
BasisHuman preference (subjective)Model of degradation (objective)Opposite
Improves the imageYesYesSame
ExampleContrast stretchingWiener deblurringOpposite
Needs a degradation modelNoYesOpposite

Exam tip. Draw the steps diagram with the knowledge base and explain each step in one line. List the elements of the system with one example of each.

Back to the topic list

Q14. Thresholding and edge linking in segmentation

Asked 1 time in 2020 · Unit 4

From the papers

  • “Explain the significance of thresholding in image segmentation.” (Dec 2020)
  • “Write short note: Edge linking.” (Dec 2020)

The short answer

Thresholding is the simplest segmentation: g(x, y) = 1 if f(x, y) > T, else 0. It works when objects and background have different grey levels (a two-peaked histogram). Edge detection gives broken edge pixels, so edge linking joins them into continuous boundaries using local or global methods.

Write these points

Significance and types of thresholding

  • Fast, simple and cheap: used in document scanning, industrial inspection, medical cell counting.
  • Global: one T for the whole image. Variable (adaptive): T changes over the image to handle uneven lighting.
  • Basic iterative method: choose T, split into G1 and G2, set T = (m1 + m2)/2, repeat until T stops changing.
  • Otsu's method: chooses T that maximizes the between-class variance; multiple thresholds for several objects.
  • Problems: noise and uneven illumination break a single threshold; smoothing or adaptive T helps.

Edge linking

  • Local processing: link neighbour edge pixels if their gradient magnitudes differ by at most E and angles by at most A.
  • Global processing with the Hough transform: each edge point votes for all lines ρ = x cos θ + y sin θ through it; peaks in the (ρ, θ) accumulator are lines.
  • Graph theoretic: find the lowest-cost path through edge elements.

Iterative threshold and a link test.

Pixels: 10, 12, 14, 200, 210, 220. Start with T = 111.

G1 = {10, 12, 14}, m1 = 12; G2 = {200, 210, 220}, m2 = 210; new T = (12 + 210)/2 = 111. T does not change, so stop.

Edge pixels with magnitudes 120 and 110, angles 40° and 50°; limits E = 25, A = 15°.

|120 − 110| = 10 ≤ 25 and |40 − 50| = 10 ≤ 15, so the two pixels are linked.

Real-life example

Separating rice from small stones by holding them up to light is thresholding: everything brighter than a certain level is rice.

Figure: basic iterative thresholding
Figure: basic iterative thresholding

Same or opposite: global and adaptive thresholding

PointGlobalAdaptiveSame or opposite
ThresholdOne T for all pixelsT changes by regionOpposite
Gives a binary segmented imageYesYesSame
Handles uneven lightingNoYesOpposite
SpeedFastestSlowerOpposite

Exam tip. Write the threshold formula and its significance. Give the iterative and Otsu methods, then local linking conditions and the Hough transform.

Back to the topic list

Q15. Image formation in the eye; brightness adaptation and discrimination

Asked 1 time in 2023 · Unit 1

From the papers

  • “Describe image formation in the eye with brightness adaptation and discrimination.” (Nov 2023)

The short answer

Since images are finally judged by people, DIP starts from how the human eye sees. Light enters through the cornea and lens and forms an inverted image on the retina, which has rods (dim light, no colour) and cones (bright light, colour). The eye adapts to a huge range of brightness, but at any moment it sees only a small range: this is brightness adaptation. The smallest change it notices is brightness discrimination.

Write these points

Image formation in the eye

  • The lens is flexible; the ciliary muscles change its shape, so its focal length varies from about 17 mm (far objects) to 14 mm (near).
  • Retina: about 6 to 7 million cones (mostly in the fovea) and 75 to 150 million rods.
  • The blind spot has no receptors (optic nerve exit).
  • Image size on the retina by similar triangles: h / 17 = H / D.

Brightness adaptation and discrimination

  • Range of light the eye handles: about 10¹⁰ from the scotopic threshold to glare.
  • Perceived brightness is a logarithmic function of intensity.
  • Weber ratio ΔIc / I: a small ratio means good discrimination; it is poor at low light and good at high light.
  • Effects: Mach bands (overshoot at edges) and simultaneous contrast (the same grey looks darker on a white background).

Size of an image on the retina.

A person looks at a tree 15 m tall from 100 m away.

Using h / 17 mm = 15 m / 100 m, h = 17 × 0.15 = 2.55 mm.

So a 15 m tree forms a 2.55 mm inverted image on the retina.

If ΔIc / I = 0.02, a 2% change in brightness is just noticeable; the same 2-unit change on a dark area of 10 units (20%) is clearly seen.

Real-life example

Walking from sunlight into a cinema, you see nothing for a while until your eyes adapt. That is brightness adaptation at work.

Figure: how the eye forms an image
Figure: how the eye forms an image

Same or opposite: rods and cones

PointRodsConesSame or opposite
Number75 to 150 million6 to 7 millionOpposite
Are receptors in the retinaYesYesSame
VisionDim light (scotopic), no colourBright light (photopic), colourOpposite
DetailLowHigh (fovea)Opposite

Exam tip. Draw or describe the eye with lens, retina, rods and cones. Give the focal lengths, the retina image calculation, then the Weber ratio, Mach bands and simultaneous contrast.

Back to the topic list

Start with the latest papers

Digital Image Processing - Nov 2023

Digital Image Processing - Dec 2020

See all 2 papers →

Digital Image Processing (IT-703-D) FAQs

What are the most important topics in Digital Image Processing?

By how often they were asked in the papers on this site: Noise models (probability density functions) and estimating noise parameters (2 times); Restoration filters: minimum mean square error (Wiener) filtering and the geometric mean filter (2 times); Homomorphic filtering (2 times); Sharpening with Butterworth and Gaussian high pass filters (frequency domain) (2 times); Region based segmentation; region oriented and motion based segmentation (2 times).

How were these Digital Image Processing important questions chosen?

Each topic was counted from the questions in the past papers listed on this site (2020-2023). Repeated is the number of times the topic came. The counts come from keyword matching and the answers are not teacher-reviewed, so use them together with your syllabus.

Is there a PDF of Digital Image Processing important questions with answers?

Yes. The Paperwala Imp Question & Answer PDF for Digital Image Processing is free to download from this page.

The 15 most repeated topics of Digital Image Processing (IT-703-D) for RGPV B.Tech IT semester 7, counted from the previous year papers on this site.