Counted from the questions in the past papers listed on this site. Repeated = how many times the topic came in those papers.
Image Processing and Computer Vision 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. Neural networks for pattern and image shape recognition
Asked 5 times in 2022, 2023, 2024, 2025 · Unit 5
From the papers
“Explain the use of neural network structures for pattern recognition with an example.” (May 2022, May 2024)
“Describe how neural networks are used in image shape recognition.” (May 2023, Dec 2024)
“Write short notes on (any two): Machine learning and neural networks in image shape recognition.” (Jun 2025)
The short answer
A neural network recognises patterns and shapes by learning from many labelled example images, adjusting its weights until it maps each image to the right class. For images, convolutional neural networks (CNNs) work best because they learn edges, parts and whole shapes layer by layer.
Write these points
Basic structure
Input layer: pixel values of the image (or extracted features).
Hidden layers: neurons compute weighted sums and pass them through an activation function such as ReLU.
Output layer: one neuron per class; softmax turns outputs into probabilities.
Training: backpropagation with gradient descent reduces the error on labelled examples.
Network structures used for pattern recognition
Structure
Idea
Use
Perceptron
One layer, straight line boundary
Simple two class patterns
Multilayer perceptron (MLP)
Hidden layers, curved boundaries
Feature vectors, digits
CNN
Convolution and pooling layers
Images and shapes
Hopfield network
Stores patterns, recalls from noisy input
Pattern completion
Self organising map
Groups similar inputs without labels
Clustering of shapes
How a CNN recognises a shape
Convolution layers slide small filters over the image to find edges and corners.
Pooling layers shrink the feature maps and keep the strongest responses, so small shifts do not matter.
Deeper layers combine edges into parts such as curves and angles.
Fully connected layers combine all features and give class scores.
Machine learning around it
Classic route: extract features (moments, HOG, shape numbers), then classify with SVM, k-NN or an MLP.
Deep route: the CNN learns the features itself from raw pixels.
Needs a large labelled dataset; data augmentation (rotate, flip, scale) helps.
Size of the first layers for 28 x 28 shape images.
Input: 28 x 28 x 1 gray image of a circle, square or triangle.
Layer 1: 32 filters of 3 x 3. Weights = 32 x (3 x 3 + 1 bias) = 320. Output = 26 x 26 x 32.
Max pooling 2 x 2 halves the size: 13 x 13 x 32.
The output layer has 3 neurons. For a test image it gives circle 0.92, square 0.05, triangle 0.03, so the answer is circle.
Real-life example
A child learns what a cat looks like by seeing many cats, not by reading rules. After enough pictures, the child spots a cat in any pose. A neural network learns shapes the same way from thousands of labelled pictures.
Figure: a CNN recognising a shape
Same or opposite: classic feature based recognition and CNN
Point
Feature based + classifier
CNN
Same or opposite
Features
Designed by hand
Learned from data
Opposite
Data needed
Small
Large
Opposite
Gives a class label at the end
Yes
Yes
Same
Accuracy on complex images
Lower
Higher
Opposite
Exam tip. Draw the CNN pipeline from input to output. Name the layers and say what each finds. Give one numeric example such as the parameter count; examiners like a concrete network.
“Explain the concept of segmentation in binary machine vision. Discuss the methods of thresholding and connected component labeling.” (Jun 2025)
“Explain the segmentation techniques that are based on finding the regions directly.” (May 2024)
“What is image segmentation? Discuss thresholding and connected component labeling techniques.” (Dec 2024)
“Describe the split-and-merge technique used in hierarchical segmentation.” (Dec 2024)
The short answer
Image segmentation divides an image into regions that each belong to one object or the background. Region based methods group pixels directly by similarity, for example region growing and split and merge, while motion based methods separate objects that move.
Write these points
Main approaches
Thresholding: split by gray level (see the thresholding answer).
Edge based: find boundaries, then close them into regions.
Region based: find regions directly from similar neighbouring pixels.
Clustering: group pixels by colour or intensity (k-means, spatial clustering).
Rule based: use knowledge such as "sky is at the top and blue".
Region growing
Pick seed pixels inside each object.
Add a neighbour if it is similar to the region, for example the gray level differs by 10 or less.
Repeat until no more pixels can join.
Split and merge (hierarchical segmentation)
Start with the whole image as one region.
Split: if a region is not uniform (for example its variance is high), divide it into four quadrants. Repeat. This builds a quadtree.
Merge: join neighbouring regions that are similar.
Stop when no region can be split or merged.
Motion based segmentation
Frame differencing: mark a pixel as moving if |I(t) minus I(t minus 1)| is more than a threshold.
Background subtraction: compare each frame with a learned background model.
Optical flow: group pixels that move with the same velocity.
Region growing on one row of pixels.
Row: 98, 102, 105, 140, 145, 99. Seed = 98 at position 1. Rule: join if within 10 of the seed.
102 joins (diff 4). 105 joins (diff 7). 140 fails (diff 42), so growth stops in that direction.
Region 1 = {98, 102, 105}. A second seed at 140 grows {140, 145}. 99 is not connected to region 1, so it starts a third region.
Frame differencing.
A pixel is 60 in frame 10 and 180 in frame 11. Threshold = 30.
|180 minus 60| = 120, which is more than 30, so the pixel is marked as moving.
Real-life example
Sorting a mixed bag of dal and rice by hand is segmentation. You pick up similar grains together and build piles. Split and merge is like dividing the plate into four parts, dividing again where it is mixed, then joining piles that are the same grain.
Figure: split and merge segmentation
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
Direction
Bottom up
Top down, then merge
Opposite
Uses a similarity rule
Yes
Yes
Same
Needs seeds
Yes
No
Opposite
Exam tip. Name the groups of methods first. Then explain region growing and split and merge with steps. Draw the quadtree. For motion based, write the frame differencing formula.
Q3. Morphological image processing: dilation and erosion
Asked 4 times in 2022, 2024, 2025 · Unit 1
From the papers
“Define morphological image processing and describe the operations of dilation and erosion on binary images.” (Jun 2025)
“Define morphological image processing and describe its primary operations.” (Dec 2024)
“Differentiate between dilation and erosion in binary and gray scale images.” (Dec 2024)
“Discuss morphological algorithm operations performed on gray scale images.” (May 2022)
The short answer
Morphological image processing changes the shape of objects in an image using a small pattern called a structuring element. Its two basic operations are dilation, which grows objects while erosion, which shrinks them.
Write these points
Definitions (A = image, B = structuring element)
Dilation: A ⊕ B = all positions z where the reflected B, placed at z, touches A. Objects grow; small holes and gaps fill.
Erosion: A ⊖ B = all positions z where B, placed at z, fits fully inside A. Objects shrink; thin parts and noise vanish.
Opening = erosion then dilation. Removes small objects and thin bridges.
Closing = dilation then erosion. Fills small holes and gaps.
Hit or miss transform: finds exact shapes such as corners.
Thinning reduces objects to one pixel wide skeletons.
Dilation and erosion on binary and gray scale images
Point
Binary image
Gray scale image
Dilation
OR of B over the neighbourhood
Maximum value under B
Erosion
AND of B over the neighbourhood
Minimum value under B
Effect of dilation
White objects grow
Image gets brighter, dark details shrink
Effect of erosion
White objects shrink
Image gets darker, bright details shrink
Gray scale morphological algorithms
Morphological gradient = dilation minus erosion. It highlights edges.
Top hat = image minus its opening. It finds small bright details on uneven background.
Smoothing = opening followed by closing.
Binary: a 3 x 3 square with a 3 x 3 element.
Dilation adds one layer on every side: the square becomes 5 x 5, so 9 pixels become 25.
Erosion keeps only positions where the whole 3 x 3 element fits: only the centre, so 1 pixel.
Gray scale: row 10, 50, 20, 80, 30 with a flat 1 x 3 element.
Dilation (max of each pixel and its neighbours): 50, 50, 80, 80, 80.
Erosion (min): 10, 10, 20, 20, 30.
The bright 80 spreads under dilation. The dark 10 spreads under erosion.
Real-life example
Think of a rangoli outline drawn with a thick brush. Going over it again with the same brush makes the lines thicker; that is dilation. Rubbing the edges with a cloth makes them thinner and wipes off small dots; that is erosion.
Figure: dilation and erosion of a 3 x 3 square
Same or opposite: dilation and erosion
Point
Dilation
Erosion
Same or opposite
Effect on objects
Grow
Shrink
Opposite
Gray scale rule
Maximum
Minimum
Opposite
Uses a structuring element
Yes
Yes
Same
Fixes
Gaps, holes
Noise, thin links
Opposite
Exam tip. Write both definitions with symbols. Draw the three grids: original, dilated and eroded. For gray scale, write max and min with a small number example. Add opening and closing as combinations.
“Explain Hough transforms with the help of suitable derivations.” (May 2022, May 2024)
“Explain the Hough transform and discuss how it is used in detecting simple objects in images.” (Jun 2025)
“Explain edge detection and the Hough transform in area extraction.” (Dec 2024)
“Explain the Hough transform in the context of simple object recognition methods.” (Dec 2024)
The short answer
The Hough transform finds lines, circles and other simple shapes by letting every edge pixel vote for all the shapes that could pass through it. The shape with the most votes in the parameter space is the one present in the image.
Write these points
Derivation for straight lines
A line can be written y = mx + c. A point (x, y) on it gives c = minus x m + y, a line in (m, c) space.
Problem: vertical lines have infinite m. So use the normal form ρ = x cos θ + y sin θ. Here ρ is the distance from the origin and θ is the angle of the normal.
Each image point (x, y) becomes a sinusoid in (θ, ρ) space.
Points on the same line give sinusoids that cross at one (θ, ρ): the parameters of that line.
Algorithm
Detect edges (for example with Canny) to get edge points.
Make an accumulator array A(θ, ρ), all zero. θ runs from 0° to 180°.
For each edge point and each θ, compute ρ and add 1 to A(θ, ρ).
Find peaks in A. Each peak is a line.
Circles and accurate centre location
Circle: (x minus a)² + (y minus b)² = r². Parameters are (a, b, r), a 3D accumulator.
With known r, each edge point votes for a circle of possible centres.
Accurate centre location: use the edge gradient direction, so each point votes only along its gradient line. The centre is the peak. Taking a weighted average of the votes around the peak gives the centre to sub pixel accuracy.
Use in simple object recognition and area extraction
Finding lane lines on roads, coins and eyes (circles), document lines, parts on a conveyor.
Works with noise and gaps because a broken line still collects votes.
Generalised Hough transform finds any shape stored as a template.
Three points on one line.
Points (1, 3), (2, 2) and (3, 1). Try θ = 45°, where cos θ = sin θ = 0.707.
ρ for (1, 3) = 0.707 x 4 = 2.83. For (2, 2) = 0.707 x 4 = 2.83. For (3, 1) = 2.83.
All three vote for (45°, 2.83), so A(45°, 2.83) = 3: the line x + y = 4.
At θ = 0°, ρ = 1, 2 and 3, which are three different cells with one vote each.
Real-life example
In a class election, every student votes for a candidate. The teacher counts the votes and the name with the highest count wins. In the Hough transform, every edge pixel votes for possible lines and the line with the most votes is declared found.
Figure: three collinear points vote for one (θ, ρ)
Same or opposite: y = mx + c and ρ = x cos θ + y sin θ
Point
Slope intercept
Normal form
Same or opposite
Vertical lines
Cannot be stored (m infinite)
Handled (θ = 0°)
Opposite
Parameter range
Unbounded
Bounded
Opposite
Describes a straight line
Yes
Yes
Same
Point maps to
A line
A sinusoid
Opposite
Exam tip. Write the derivation from y = mx + c to the normal form. Draw image space and parameter space side by side. Give the voting steps. Add the circle equation for the object recognition question.
“What is the backtracking algorithm? Explain its application in solving consistency labelling problems.” (Dec 2024)
“Discuss back tracking algorithm by an example.” (May 2022)
The short answer
Backtracking is a search method that assigns labels to parts one at a time and goes back to the last choice as soon as a constraint is broken. In vision it solves the consistent labeling problem: giving every line or region a label that agrees with all its neighbours.
Write these points
The consistent labeling problem
Units: the parts to label (regions, line segments, junctions).
Labels: possible meanings (sky, road, car; or convex, concave, occluding edge).
Constraints: which label pairs are allowed for related units.
Goal: a full labeling where every constraint holds.
Backtracking algorithm
Order the units: U1, U2, ... Un.
Give U1 its first label.
Move to the next unit and try its labels in turn. Keep a label only if it agrees with all labels given so far.
If no label works, go back (backtrack) to the previous unit and try its next label.
Stop when all units are labelled (success) or all choices fail (no solution).
Making it faster
Forward checking: after each choice, remove labels that now conflict from the units still left.
Discrete relaxation (Waltz filtering): remove impossible labels before the search starts.
Use in shape recognition
Labeling edges of line drawings (+ convex, minus concave, arrow for occluding) to understand 3D blocks.
Matching model parts to image parts: each model part is a unit and each image part is a label.
Labeling three regions of a street photo.
Regions R1 (top), R2 (middle), R3 (bottom). Labels {sky, tree}. Rules: R1 ≠ R2 and R2 ≠ R3. R3 can only be tree.
R1 = sky. R2 = sky breaks R1 ≠ R2. R2 = tree is fine. R3 = tree breaks R2 ≠ R3. No label left for R3.
Backtrack to R2: no label left. Backtrack to R1 = tree.
R2 = sky is fine. R3 = tree is fine. Answer: tree, sky, tree.
Real-life example
Solving a Sudoku by pencil is backtracking. You write a number in a box and move on. When a later box has no valid number, you rub out the last guess and try the next one. You keep going until the grid is full.
Figure: backtracking search for a consistent labeling
Same or opposite: backtracking and brute force search
Point
Backtracking
Brute force
Same or opposite
When it rejects
As soon as a rule breaks
Only after a full labeling
Opposite
Work done
Much less
Tries every combination
Opposite
Finds a solution if one exists
Yes
Yes
Same
Memory
Small, one path
Small
Same
Exam tip. Define the consistent labeling problem with units, labels and constraints. Write the algorithm steps. Draw the search tree with a dead end and the backtrack arrow. The scenario question wants a worked trace like the one above.
“Explain the concept of segmentation in binary machine vision. Discuss the methods of thresholding and connected component labeling.” (Jun 2025)
“What is image segmentation? Discuss thresholding and connected component labeling techniques.” (Dec 2024)
“What is Thresholding? Discuss its use and also write its limitations.” (May 2023)
“Explain global and adaptive thresholding techniques.” (May 2022)
The short answer
Thresholding turns a gray image into a binary image: pixels above a threshold T become object (1) and the rest become background (0). Connected component labeling then gives each separate group of object pixels its own number, so every object can be counted and measured.
Write these points
Global thresholding
One T for the whole image. g(x, y) = 1 if f(x, y) > T, else 0.
Iterative method: start with a guess T. Find the mean of the pixels below (m1) and above (m2). Set T = (m1 + m2) / 2. Repeat until T stops changing.
Otsu's method: choose the T that maximises the variance between the two classes.
Adaptive (local) thresholding
T changes across the image. For each pixel, T = mean of a small window (say 15 x 15) minus a constant C.
Works under uneven lighting, such as a page photographed with a shadow.
Uses and limitations
Uses: document scanning, counting cells or coins, defect detection, number plate reading.
Limitations: fails when object and background gray levels overlap. Sensitive to noise and uneven light. Ignores where pixels are, only their values.
Connected component labeling (two pass algorithm)
Pass 1: scan row by row. For each object pixel, look at the top and left neighbours (4-connectivity). If none is labelled, give a new label. Else copy the smallest label and note any two labels that meet as equivalent.
Resolve the equivalence table (union find).
Pass 2: replace each label by its group's representative label.
Result: each connected object has one unique number.
Iterative global threshold.
Histogram peaks: background near 50, object near 200. Start T = 128.
Mean below T = 50, mean above T = 200. New T = (50 + 200) / 2 = 125.
Recompute with T = 125: the means stay 50 and 200, so T = 125 is final.
Counting objects.
In the figure, the binary image has 12 white pixels. After labeling there are 3 labels.
So the image has 3 objects, with areas 5, 3 and 4 pixels.
Real-life example
When a teacher marks answer sheets as pass or fail with 33 as the cutoff, every mark above 33 becomes pass. That is thresholding. Then grouping the passed students by section, so each section gets its own count, is like connected component labeling.
Figure: choosing a threshold from a bimodal histogramFigure: connected component labeling
Same or opposite: global and adaptive thresholding
Point
Global
Adaptive
Same or opposite
Threshold
One for the whole image
Changes per region
Opposite
Uneven lighting
Fails
Works
Opposite
Output is a binary image
Yes
Yes
Same
Speed
Fast
Slower
Opposite
Exam tip. Draw the bimodal histogram with T marked. Write the formula g(x, y). Explain global, iterative and adaptive in turn. For labeling, write the two pass steps and draw the labelled grid.
“Describe perspective projective geometry and inverse perspective projection.” (Dec 2024)
The short answer
Perspective projection maps a 3D point to an image point by x = fX / Z and y = fY / Z, with f the focal length. Inverse perspective projection tries to recover the 3D point from the image point, which needs extra knowledge because depth Z is lost.
Write these points
Perspective projective geometry
Pinhole camera model: light from a 3D point passes through the lens centre to the image plane.
By similar triangles: x / f = X / Z, so x = f X / Z. Far objects look smaller.
In homogeneous coordinates the projection is one 3 x 4 matrix, so it can be written as a matrix product.
Parallel 3D lines meet at a vanishing point in the image.
Straight lines stay straight, but lengths and angles change. The cross ratio of four points on a line is kept.
Inverse perspective projection
One image point gives only a ray through the lens centre. Every 3D point (x Z / f, y Z / f, Z) on that ray gives the same image point.
To fix Z we need one of: a known object size, a known ground plane (for example the road), or a second camera (stereo).
Calibrate the camera: find f, the camera height h and its tilt.
For each image point, form the ray through the lens centre.
Intersect the ray with the known plane (Y = minus h for the road).
The intersection is the 3D point. This gives a bird's eye view of the road.
Role in interpreting 3D objects (photogrammetry)
Measuring buildings from photos, robot navigation, lane detection, 3D maps from drone images.
Forward and inverse.
Forward: f = 50 mm, a 2 m tall pole at Z = 10 m. Image height x = 50 x 2,000 / 10,000 = 10 mm.
Inverse: a person of known height 1.7 m appears 10 mm tall with f = 50 mm.
Z = f X / x = 50 x 1,700 / 10 = 8,500 mm, so the person is 8.5 m away.
Real-life example
A railway track seems to meet at one point far away, though the rails never meet. That point is the vanishing point of perspective. A cricket umpire judges how far the ball is by its size in view. That is inverse perspective using a known object size.
Figure: perspective projection in a pinhole camera
Same or opposite: perspective and inverse perspective projection
Point
Perspective
Inverse perspective
Same or opposite
Direction
3D to 2D
2D to 3D
Opposite
Result
One image point
A ray of possible points
Opposite
Uses the pinhole model
Yes
Yes
Same
Extra knowledge needed
None
Depth, size or second view
Opposite
Exam tip. Draw the pinhole diagram with f, Z and similar triangles. Write x = fX / Z. Then say why inverse needs extra knowledge and give the ground plane algorithm. A distance example adds marks.
“Define Principal Component Analysis (PCA) and its application in feature extraction.” (Dec 2024)
The short answer
Feature extraction turns an image into a small set of numbers (features) that describe what matters for recognition, such as shape, colour or texture. Principal Component Analysis (PCA) reduces many features to a few new ones that keep most of the variation in the data.
Write these points
Types of features
Colour: histograms, mean colour.
Texture: contrast, energy from gray level co-occurrence matrices.
Good features are distinct between classes, stable under rotation, scale and light. They should also be few in number.
PCA steps
Arrange data as vectors and subtract the mean.
Compute the covariance matrix.
Find its eigenvalues and eigenvectors.
Sort eigenvectors by eigenvalue; the top k are the principal components.
Project each vector onto them to get k features.
Role in object recognition
Eigenfaces: each face image (say 100 x 100 = 10,000 numbers) is reduced to about 50 PCA weights, then compared.
Removes noise and correlated features, so classifiers train faster.
PCA gives the directions of most spread; it is unsupervised and linear.
PCA on three points.
Points (1, 2), (2, 4), (3, 6). Mean = (2, 4). Centred: (minus 1, minus 2), (0, 0), (1, 2).
Covariance (divide by n minus 1 = 2): [[1, 2], [2, 4]].
Eigenvalues: 5 and 0. The first eigenvector is (1, 2) / √5.
The first component holds 5 / 5 = 100 percent of the variance. So one number per point describes the data instead of two.
Real-life example
To describe a friend over the phone you do not list every pixel of the face. You say "tall, curly hair, round glasses". Those few words are features. PCA picks the few words that separate people most.
Figure: PCA for feature extraction
Same or opposite: feature extraction and feature selection
Point
Extraction (PCA)
Selection
Same or opposite
What it does
Makes new combined features
Keeps some original features
Opposite
Meaning of features
Hard to read
Same as before
Opposite
Reduces the number of features
Yes
Yes
Same
Example
Eigenfaces
Keep only area and perimeter
Opposite
Exam tip. Define both terms. List feature types. Write the five PCA steps with covariance and eigenvectors. A tiny numeric PCA or the eigenfaces example earns full marks.
“Explain spatial moments and gray-level moments in region analysis. How are these properties used in object recognition.” (Jun 2025)
“Define region analysis and describe the concept of spatial moments.” (Dec 2024)
“Discuss how to measure the properties of the region in a labeled image?” (May 2023)
The short answer
Region analysis measures properties of each labelled region, such as area, centroid, extremal points and moments, so objects can be described and recognised. Spatial moments summarise where the pixels of a region lie; mixed spatial gray level moments also weight each pixel by its brightness.
Write these points
Region properties
Area: number of pixels.
Centroid: mean row and mean column.
Bounding box and extremal points: topmost, bottommost, leftmost and rightmost pixels.
Perimeter and circularity = 4π x area / perimeter².
Orientation and elongation from second order moments.
Mean gray level and its variance inside the region.
Spatial moments
Moment of order (p + q): m_pq = Σ r^p c^q over all pixels (r, c) of the region.
m00 = area. Centroid = (m10 / m00, m01 / m00).
Central moments μ_pq use (r minus r̄) and (c minus c̄), so they do not change when the object moves.
Second order central moments μ20, μ02 and μ11 give the orientation and the shape of the best fitting ellipse.
Normalised moments and Hu's seven invariant moments do not change with scale or rotation.
Mixed spatial gray level moments
Each pixel is weighted by its intensity I(r, c): M_pq = Σ r^p c^q I(r, c).
Gives the brightness weighted centre, useful for blobs such as stars or laser spots.
Use in object recognition
Invariant moments form a feature vector; the unknown object is matched with the nearest stored model.
The balance point of a cricket bat is its centroid. Hold it there and it does not tip. Spatial moments find this balance point for a shape in an image. A heavier blade end is like brighter pixels in gray level moments.
Figure: properties measured for one region
Same or opposite: spatial moments and gray level moments
Point
Spatial moments
Mixed spatial gray level
Same or opposite
Pixel weight
1 for each region pixel
Its gray value
Opposite
Centroid found
Shape centre
Brightness centre
Opposite
Formula uses r^p c^q
Yes
Yes
Same
Needs a binary region
Yes
No
Opposite
Exam tip. List region properties first. Write m_pq, then area and centroid from it. Mention central and invariant moments. A five pixel worked example shows clear understanding.
Q10. Boundary analysis: signature properties and shape numbers
Asked 3 times in 2023, 2024, 2025 · Unit 3
From the papers
“Define the following: Shape numbers used in boundary analysis” (Jun 2025)
“Explain the role of signature properties and shape numbers in boundary analysis.” (Dec 2024)
“What is Boundary analysis? Discuss the properties in analyzing the boundary.” (May 2023)
The short answer
A boundary signature turns the boundary into a 1D function such as distance from the centroid at each angle. A shape number is a unique code built from the chain code.
Write these points
Signature
Plot r(θ): distance from the centroid to the boundary against angle θ.
A circle of radius R gives a flat line r = R. A square gives a wave with four peaks at the corners.
Properties: it does not change when the object moves. It scales with size, so divide by the largest r. Rotation only shifts the start, so start at the farthest point.
Fails when a ray from the centroid meets the boundary more than once.
Chain code and shape number
Trace the boundary on a grid with 4-direction codes: 0 right, 1 up, 2 left, 3 down.
First difference: count the number of direction changes (counterclockwise) between each code and the one before it, mod 4. This removes rotation.
Shape number: the rotation of the difference that gives the smallest number. This removes the start point.
Order of the shape number = its length (number of codes).
Start at the bottom left corner and go counterclockwise: chain code 001223.
First difference (circular, first value uses the last code 3): (0 minus 3) mod 4 = 1, then 0, 1, 1, 0, 1, so 101101.
Rotations: 101101, 011011, 110110 ... The smallest is 011011. This is the shape number, order 6.
Real-life example
A heartbeat trace on an ECG is a signature of the heart: a 2D activity shown as a 1D line that doctors read. A boundary signature does the same for a shape, so a circle shows a flat line and a star shows sharp spikes.
Figure: chain code and shape number of a rectangle
Same or opposite: signature and shape number
Point
Signature
Shape number
Same or opposite
Form
Function r(θ)
String of digits
Opposite
Rotation handling
Choose start point
Built in (first difference)
Opposite
Describes the boundary
Yes
Yes
Same
Works on
Any contour
Grid boundaries
Opposite
Exam tip. Draw the chain code arrows and a small rectangle. Compute the chain code, difference and shape number step by step. Sketch the signature of a circle and a square.
“What are boundary and region descriptors in image processing? Explain their importance in image analysis.” (Jun 2025)
“Explain Boundary descriptors in detail with a neat diagram.” (May 2024)
“Discuss in detail boundary descriptors of image processing.” (May 2023)
The short answer
Descriptors are numbers that summarise a region so it can be recognised. Boundary descriptors use only the outline, such as length, curvature and Fourier descriptors, while region descriptors use all pixels inside, such as area, compactness and Euler number.
Write these points
Boundary descriptors
Length (perimeter): number of boundary pixels.
Diameter: largest distance between two boundary points; it sets the major axis.
Eccentricity: major axis length / minor axis length.
Curvature: rate of change of direction; high at corners.
Chain code and shape number.
Fourier descriptors: write boundary points as x + jy and take the DFT. A few low frequency terms describe the overall shape.
Region descriptors
Area, perimeter, centroid.
Compactness = perimeter² / area (smallest for a circle, 4π ≈ 12.57).
Circularity = 4π x area / perimeter² (1 for a circle).
Euler number = number of components minus number of holes.
Texture measures and moments.
Importance in image analysis
Turn shapes into numbers that a classifier can compare.
Good descriptors stay the same under moving, rotating and scaling.
Used in OCR, part inspection, medical cell analysis.
Compactness and Euler number.
Circle with r = 10: perimeter = 62.83, area = 314.16. Compactness = 62.83² / 314.16 = 12.57.
Square with side 10: perimeter = 40, area = 100. Compactness = 1,600 / 100 = 16. The square is less compact.
Letters: A has 1 component and 1 hole, so E = 0. B has 2 holes, so E = minus 1. i has 2 parts and no hole, so E = 2.
Real-life example
Describing a lost bag at a railway counter, you say "blue, square, with two side pockets". The outline (square) is a boundary descriptor. The colour and the pockets inside are region descriptors. The staff use both to find it.
Figure: descriptors of a shape
Same or opposite: boundary and region descriptors
Point
Boundary descriptors
Region descriptors
Same or opposite
Uses
Outline pixels only
All pixels inside
Opposite
Examples
Chain code, curvature, Fourier
Area, Euler number, moments
Opposite
Used for recognition
Yes
Yes
Same
Sensitive to noise on the edge
More
Less
Opposite
Exam tip. Give two lists with formulas. Add the Fourier descriptor idea in two lines. Worked values of compactness and the Euler number for letters make the answer stand out.
“Describe thinning and thickening operations. Provide an example of an application where these operations are useful.” (Jun 2025)
“Explain in brief any two of the following: Thinning” (May 2023)
“Explain the following operations: i) dilation ii) erosion iii) closing iv) thinning” (May 2022)
The short answer
Thinning removes boundary pixels of an object step by step until only a one pixel wide skeleton remains, without breaking the object apart. Thickening is the opposite: it adds pixels to the outside of an object in a controlled way.
Write these points
Thinning
Defined with the hit or miss transform: A ⊗ B = A minus (A ⊛ B).
A sequence of structuring elements B1 to B8, each a rotated version of the last, is applied in turn. The cycle repeats until nothing changes.
Rules: never remove an end point and never break connectivity.
Result: a skeleton that keeps the shape and topology of the object.
Thickening
A ⊙ B = A ∪ (A ⊛ B). Pixels that match the pattern are added.
In practice: thin the background, then take the complement. This stops objects from merging.
Applications
Thinning: handwriting and OCR (a stroke becomes a line), fingerprint ridge analysis, road maps from satellite images, blood vessel networks.
Thickening: joining broken lines in scanned drawings, making thin text easier to read.
Thinning a thick stroke.
A handwritten "1" is 5 pixels wide and 40 pixels tall: 200 object pixels.
The skeleton is a 40 pixel line. The recogniser now sees one straight stroke, whatever the pen width was.
Real-life example
Peeling an onion layer by layer until only the thin core is left is like thinning, provided you stop before it breaks in two. Wrapping a parcel with more layers of paper is thickening.
Figure: the thinning process
Same or opposite: thinning and thickening
Point
Thinning
Thickening
Same or opposite
Effect
Removes outer pixels
Adds outer pixels
Opposite
Result
One pixel skeleton
Wider object
Opposite
Uses the hit or miss transform
Yes
Yes
Same
Main use
OCR, fingerprints
Fill gaps in lines
Opposite
Exam tip. Write both definitions with the hit or miss formula. State the two rules: keep end points and keep connectivity. Give one application of each.
“What are the different types of computer vision models? Explain in detail.” (May 2023)
“Describe various computer vision models and their applications.” (May 2022)
The short answer
Computer vision models are ways of describing how images are formed, represented and understood: geometric (camera) models, colour models and models of the vision process. A colour model is a system of numbers for representing colour, such as RGB, CMY or HSV.
Write these points
Types of computer vision models
Geometric (camera) model: the pinhole model, x = fX / Z, with lens distortion.
Radiometric model: how light, surface and sensor give the pixel brightness.
Marr's computational model: image, then primal sketch (edges), then 2.5D sketch (depth of surfaces), then 3D model.
Self driving cars, face recognition on phones, medical scans, crop monitoring by drones, quality inspection, number plate reading.
Converting colours.
RGB to gray: Y = 0.299 R + 0.587 G + 0.114 B. For (100, 150, 200): 29.9 + 88.05 + 22.8 = 140.75 ≈ 141.
Pure red (255, 0, 0) in HSV: hue = 0°, saturation = 100 percent, value = 100 percent.
To find a red signal light, threshold the hue near 0°. That is easier than using three RGB values, because shade changes affect value more than hue.
Real-life example
Mixing light on a stage uses RGB: red, green and blue spotlights together make white. Mixing paints for a wall uses CMY: cyan, magenta and yellow together make a dark colour. A tailor matching shades by hue and brightness thinks in HSV.
Figure: types of computer vision models
Same or opposite: RGB and HSV models
Point
RGB
HSV
Same or opposite
Components
Red, green, blue
Hue, saturation, value
Opposite
Matches human description
Poorly
Well
Opposite
Represents every displayable colour
Yes
Yes
Same
Good for
Display
Colour segmentation
Opposite
Exam tip. List the model types with one line each, then add a colour model table. If the question says "colour vision models", focus on RGB, CMY and HSV with a conversion example.
“Explain in brief any two of the following: Knowledge representation” (May 2023)
“Define and explain knowledge representation and Information Integration.” (May 2022)
The short answer
Knowledge representation in vision is the way facts about objects, scenes and their relations are stored so a system can reason about what it sees. Common forms are semantic networks, frames, production rules and logic.
Write these points
Forms of knowledge representation
Form
Idea
Vision example
Semantic network
Nodes for objects, links for relations
car has wheel; car is on road
Frames
A record with slots and default values
Car frame: wheels 4, shape box, on road
Production rules
IF condition THEN action
IF region is blue AND at top THEN sky
Logic
Facts and rules in predicate logic
on(car, road)
Models and templates
Stored shapes or 3D models
CAD model of a part
Control strategies
Bottom up (data driven): pixels to edges to regions to objects.
Top down (model driven): guess an object, then look for evidence.
Hybrid: use both; most real systems do this.
Blackboard systems let many knowledge sources share one data area.
Information integration
Combining evidence from several sources: colour, shape, motion, depth or several cameras.
Gives more reliable recognition than any one source.
Rules labeling a street scene.
Rule 1: IF region is blue AND touches the top edge THEN sky (confidence 0.9).
Rule 2: IF region is gray AND at the bottom AND wide THEN road (confidence 0.8).
Region R1 is blue and at the top, so it is labelled sky. Region R3 is gray, wide and at the bottom, so it is labelled road.
Integration: a motion sensor says R2 moves. Shape says it is a box, so the frame "car" fits best.
Real-life example
A traffic policeman knows rules such as "red light means stop" and "ambulance gets the way". He combines what he sees, hears and knows to decide in a second. Knowledge representation gives a vision system such rules and facts.
Figure: knowledge based vision
Same or opposite: semantic network and frame
Point
Semantic network
Frame
Same or opposite
Structure
Graph of nodes and links
Record with slots
Opposite
Strength
Shows relations
Stores defaults and details
Opposite
Stores knowledge about objects
Yes
Yes
Same
Example
car has wheel
car: wheels = 4
Opposite
Exam tip. Define it, then give a table of the four forms with a vision example for each. Add control strategies and information integration in short lists, since one paper asks for both.
“Discuss the evolution and history of Computer Vision and Image Processing (CVIP). How have advancements in technology influenced the development of CVIP?” (Jun 2025)
“Discuss the history and evolution of Computer Vision and Image Processing (CVIP).” (Dec 2024)
The short answer
Computer Vision and Image Processing (CVIP) grew from the first digital image scans of the 1950s to today's deep learning systems that recognise thousands of objects. Each stage was driven by better sensors, faster computers and more data.
Write these points
Timeline
Period
Milestone
1957
Russell Kirsch scans the first digital photo (176 x 176 pixels)
1960s
Space and medical image processing; Larry Roberts' thesis on 3D blocks from 2D images (1963); MIT summer vision project (1966)
1970s
Edge detection, line labeling of block scenes, early OCR
1980s
David Marr's theory of vision (book 1982); Canny edge detector (1986); scale space
1990s
Eigenfaces for face recognition (1991); stereo and 3D reconstruction
2000s
Viola-Jones real time face detection (2001); SIFT and HOG features
2012 onwards
AlexNet wins ImageNet with a deep CNN; ResNet, YOLO, transformers
How technology shaped CVIP
Sensors: cheap CCD and CMOS cameras put a camera in every phone.
Computing: GPUs made training deep networks possible.
Data: large labelled datasets such as ImageNet (millions of images).
Algorithms: from hand made features to learned features.
Applications: from lab demos to phone face recognition, UPI QR scanning, self driving cars and medical diagnosis.
Measuring the jump in accuracy.
ImageNet 2011 best top 5 error (hand made features): about 26 percent.
AlexNet in 2012: about 15 percent, a drop of about 10 points in one year.
By 2015, ResNet reached about 3.6 percent, better than the roughly 5 percent quoted for humans on that test.
Real-life example
Photography in India moved from studio cameras with film, to digital cameras, to phone cameras that find faces and blur the background on their own. CVIP followed the same path from simple scans to smart vision.
Figure: evolution of CVIP
Same or opposite: early CVIP and modern CVIP
Point
Early (1960s to 1990s)
Modern (2012 onwards)
Same or opposite
Features
Designed by hand
Learned by deep networks
Opposite
Hardware
Mainframes, slow
GPUs, phones
Opposite
Goal: understand images
Yes
Yes
Same
Data
Small sets
Millions of images
Opposite
Exam tip. Write a timeline table with years. Then list how sensors, GPUs, data and algorithms changed the field. End with present day Indian examples.
RGPV teaches Image Processing and Computer Vision to 2 branches under one syllabus. Each branch prints its own code on the paper, but the units are the same. So one page and one PDF serve all of them.
We counted every question in the Image Processing and Computer Vision papers on this site by topic, from 2022 to 2025. A topic that keeps coming back is a topic RGPV likes, so it sits higher in the table. One branch alone has only a few papers. Counting them together gives a surer list.
Image Processing and Computer Vision important questions by branch
CS-803-AImage Processing and Computer Vision important questions for CSE, Semester 8
CS-803-A follows the same RGPV syllabus as the other codes on this page. The 15 topics and answers above are the CS-803-A important questions too.
Image Processing and Computer Vision (CS-803 A) is an elective in Semester 8 of RGPV B.Tech CSE. It covers how a computer cleans up, describes and recognises images. The five units go from filtering and morphology through segmentation and region analysis to model based recognition. Try each technique on a real image with a tool like Python or MATLAB.
Image Processing and Computer Vision unit-wise brief
Unit 1: Introduction to image processing and vision
This unit covers the basics and history of the field, computer vision models, image filtering and representation, the recognition methodology (conditioning, labelling, grouping, extracting and matching), and morphological processing: dilation, erosion, opening, closing, hit-or-miss, thinning and region growing. Practise dilation and erosion on a small binary grid.
Unit 2: Image representation and description
Here you study representation schemes, boundary and region descriptors, binary machine vision (thresholding, segmentation, connected components and motion based segmentation) and area extraction: edges, line linking, the Hough transform and curve fitting. Work through a Hough transform example.
Unit 3: Region analysis
The unit covers region properties, external points, spatial and mixed moments, boundary signatures and shape numbers, and general frameworks for matching such as distance relational and view class matching. Learn how moments describe a shape.
Unit 4: Facet model recognition
This unit covers labelling lines and understanding line drawings, recognising shapes, perspective and inverse perspective projection, photogrammetry from 2D to 3D, image matching, and object models with global and local features. Practise line labelling on a simple cube.
Unit 5: Knowledge based vision
The last unit covers knowledge representation, control strategies and information integration, object recognition with Hough transforms, shape correspondence and matching, principal component analysis, feature extraction, and neural networks and machine learning for shape recognition. Know how PCA reduces features.
Units follow the RGPV scheme and syllabus, B.Tech Computer Science and Engineering, Semester 8 (AICTE flexible curriculum, w.e.f. Jan 2021). For the full topic list of each unit, open the Image Processing and Computer Vision notes.
Image Processing and Computer Vision (CS-803-A) FAQs
What are the most important topics in Image Processing and Computer Vision?
By how often they were asked in the papers on this site: Neural networks for pattern and image shape recognition (5 times); Image segmentation techniques (region based, split and merge, motion based) (4 times); Morphological image processing: dilation and erosion (4 times); Hough transform and its uses (4 times); Back-tracking algorithm (4 times).
How were these Image Processing and Computer Vision important questions chosen?
Each topic was counted from the questions in the past papers listed on this site (2022-2025). 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 Image Processing and Computer Vision important questions with answers?
Yes. The Paperwala Imp Question & Answer PDF for Image Processing and Computer Vision is free to download from this page.
The 15 most repeated topics of Image Processing and Computer Vision (CS-803-A) for RGPV B.Tech CSE semester 8, counted from the previous year papers on this site. The same syllabus is taught under 2 codes: CS-803-A, IO-803. Image Processing and Computer Vision is also searched for as AI-803-A, IO-803-B and IS-803-B.