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
Noise
PDF
Mean and variance
Where it occurs
Gaussian
p(z) = (1/√(2π)σ) e^(−(z − μ)²/2σ²)
μ and σ²
Sensor and circuit noise, poor light
Rayleigh
p(z) = (2/b)(z − a) e^(−(z − a)²/b) for z ≥ a
a + √(πb/4); b(4 − π)/4
Range imaging
Erlang (gamma)
p(z) = aᵇ zᵇ⁻¹ e^(−az) / (b − 1)!
b/a; b/a²
Laser imaging
Exponential
p(z) = a e^(−az), z ≥ 0
1/a; 1/a²
Laser imaging (Erlang with b = 1)
Uniform
p(z) = 1/(b − a) for a ≤ z ≤ b
(a + b)/2; (b − a)²/12
Quantization, simulation
Impulse (salt and pepper)
p(a) = Pa, p(b) = Pb
two spikes
Faulty switching, transmission errors
Estimating noise parameters
From the imaging system: photograph a flat, evenly lit target; the variation in the image is the noise.
From the image: choose a small strip S of constant background; plot its histogram and match its shape to a PDF.
Compute mean μ = Σ zᵢ p(zᵢ) and variance σ² = Σ (zᵢ − μ)² p(zᵢ) over the strip; get a and b from them.
Impulse noise: count the black and white pixels in a mid-grey area to get Pa and Pb.
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.
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.
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
Same or opposite: inverse and Wiener filtering
Point
Inverse filter
Wiener filter
Same or opposite
Formula
F̂ = G / H
Adds the noise to signal ratio
Opposite
Undoes the degradation H
Yes
Yes
Same
Behaviour with noise
Noise blows up
Noise kept low
Opposite
Needs noise statistics
No
Yes (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.
“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.
γ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
Same or opposite: homomorphic and ordinary high pass filtering
Point
Homomorphic
Ordinary high pass
Same or opposite
Works on
ln f (product made a sum)
f directly
Opposite
Boosts high frequencies
Yes
Yes
Same
Low frequencies
Kept at γL
Removed
Opposite
Effect
Range compression and contrast
Edges only
Opposite
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.
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
Filter
H(u, v)
Ringing
Ideal
0 if D ≤ D0, 1 if D > D0
Strong
Butterworth of order n
1 / [1 + (D0 / D(u, v))²ⁿ]
Little for n = 2, more as n grows
Gaussian
1 − e^(−D²(u, v) / 2D0²)
None
Procedure
Multiply f(x, y) by (−1)^(x + y) to centre the transform.
Compute F(u, v) with the DFT (pad to 2M × 2N).
Multiply by H(u, v).
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).
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
Same or opposite: Butterworth and Gaussian high pass filters
Point
Butterworth
Gaussian
Same or opposite
Parameter
Order n and D0
D0 only
Opposite
Sharpens by passing high frequencies
Yes
Yes
Same
Ringing
Slight for higher n
None
Opposite
Transition
Adjustable sharpness
Always smooth
Opposite
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.
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.
Point
Region oriented
Motion based
Input
One image
Sequence of frames
Basis
Similarity of grey level, colour, texture
Change over time
Finds
All regions
Moving objects
Example
Tumour in an MRI slice
Car in traffic video
Region growing on one row.
Row of pixels: 50, 52, 54, 70, 72. Seed = 50, threshold T = 5.
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
Same or opposite: region growing and split and merge
Point
Region growing
Split and merge
Same or opposite
Starts from
Seed pixels
Whole image
Opposite
Uses a similarity predicate P
Yes
Yes
Same
Direction
Bottom up
Top down, then merge
Opposite
Needs seeds
Yes
No
Opposite
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.
“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.
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
Same or opposite: erosion and dilation
Point
Erosion
Dilation
Same or opposite
Effect on objects
Shrink
Grow
Opposite
Uses a structuring element
Yes
Yes
Same
Removes
Small specks
Small holes and gaps
Opposite
Symbol
A ⊖ B
A ⊕ B
Opposite
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.
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
Mapper: transforms the image to reduce interpixel redundancy (run lengths, differences, DCT); reversible.
Quantizer: reduces accuracy to remove psychovisual redundancy; irreversible, so omitted in lossless coding.
Symbol encoder: assigns short codes to frequent symbols (Huffman, arithmetic) to remove coding redundancy.
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 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
Same or opposite: lossless and lossy compression
Point
Lossless
Lossy
Same or opposite
Quantizer
Not used
Used
Opposite
Removes redundancy to save bits
Yes
Yes
Same
Exact recovery
Yes
No
Opposite
Typical ratio
2 to 3
10 to 50
Opposite
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.
“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.
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
Same or opposite: point operation and spatial filtering
Point
Point operation
Spatial filtering
Same or opposite
Uses
One pixel's value
A neighbourhood
Opposite
Works in the spatial domain
Yes
Yes
Same
Example
Gamma, histogram equalization
Laplacian, median
Opposite
Can blur or sharpen
No
Yes
Opposite
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.
“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
Take a scan line of the continuous image: a continuous intensity curve.
Sample it at equally spaced points (spatial resolution).
Quantize each sample to the nearest of L levels (intensity resolution).
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.
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
Same or opposite: sampling and quantization
Point
Sampling
Quantization
Same or opposite
Digitizes
Coordinates
Amplitude
Opposite
Needed to make a digital image
Yes
Yes
Same
Decides
Spatial resolution (M × N)
Grey levels (L = 2ᵏ)
Opposite
Artefact if too coarse
Checkerboard, aliasing
False contouring
Opposite
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.
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
Same or opposite: boundary and regional descriptors
Point
Boundary
Regional
Same or opposite
Uses
Outline pixels
All interior pixels
Opposite
Gives numbers for recognition
Yes
Yes
Same
Examples
Chain code, Fourier descriptors
Area, Euler number, texture
Opposite
Best for
Shape
Colour, texture, topology
Opposite
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.
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 > 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
Same or opposite: decision-theoretic and structural recognition
Point
Decision-theoretic
Structural
Same or opposite
Pattern form
Vector of numbers
String or tree
Opposite
Assigns patterns to classes
Yes
Yes
Same
Method
Distance, correlation, Bayes, neural nets
Shape numbers, string matching
Opposite
Best when
Measurements matter
Shape relations matter
Opposite
Exam tip. Define pattern, pattern vector and pattern class. Explain decision functions with the minimum distance formula and a worked example. Add structural methods.
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
Let h(x, y) = a f(x, y) + b g(x, y), with constants a and b.
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.
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.
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].
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
Image acquisition: capture with a sensor and digitize; may include scaling.
Enhancement: make the image look better for a purpose (contrast, sharpening).
Restoration: remove known degradations using models (deblurring, noise removal).
Colour image processing, wavelets (multiresolution) and compression.
Representation and description: turn regions into boundary or regional features.
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
Same or opposite: enhancement and restoration
Point
Enhancement
Restoration
Same or opposite
Basis
Human preference (subjective)
Model of degradation (objective)
Opposite
Improves the image
Yes
Yes
Same
Example
Contrast stretching
Wiener deblurring
Opposite
Needs a degradation model
No
Yes
Opposite
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.
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
Same or opposite: global and adaptive thresholding
Point
Global
Adaptive
Same or opposite
Threshold
One T for all pixels
T changes by region
Opposite
Gives a binary segmented image
Yes
Yes
Same
Handles uneven lighting
No
Yes
Opposite
Speed
Fastest
Slower
Opposite
Exam tip. Write the threshold formula and its significance. Give the iterative and Otsu methods, then local linking conditions and the Hough transform.
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
Same or opposite: rods and cones
Point
Rods
Cones
Same or opposite
Number
75 to 150 million
6 to 7 million
Opposite
Are receptors in the retina
Yes
Yes
Same
Vision
Dim light (scotopic), no colour
Bright light (photopic), colour
Opposite
Detail
Low
High (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.
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.