Counted from the questions in the past papers listed on this site. Repeated = how many times the topic came in those papers.
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. Computer vision and image processing: meaning, differences and problems
Asked 3 times in 2023, 2025 · Unit 1
From the papers
“Define computer vision and explain its significance in modern applications. How does it differ from traditional image processing?” (Jun 2025)
“Discuss various problems in computer vision and explain how basic image operations help in solving them.” (Jun 2025)
“Explain the key differences between Image Processing and Computer Vision. Illustrate your answer with suitable examples.” (Dec 2025)
“What is computer vision? And how does it differ from traditional image processing?” (Nov 2023)
The short answer
Computer vision makes a computer understand what is in an image or video, such as finding a face or reading a number plate. Image processing changes an image to make it better or more useful. Its output is another image.
Write these points
Differences
Point
Image processing
Computer vision
Input
Image
Image or video
Output
Improved image
Meaning: labels, boxes, decisions
Aim
Enhance, restore, compress
Understand and decide
Example
Sharpening a blurred photo
Recognising the person in it
Problems in computer vision
Changes in light and shadow.
Different viewpoints and sizes.
Objects hidden behind others (occlusion).
Cluttered backgrounds.
Noise and blur.
Huge variety inside one class, such as dog breeds.
How basic image operations help
Brightness and contrast fix poor light.
Smoothing removes noise.
Thresholding separates object from background.
Edge detection finds outlines for later recognition.
Significance today
Face lock on phones, FASTag and number plate reading on highways.
Medical scans, self-driving cars, crop disease detection.
Number plate reading at a toll plaza.
Image processing: the dark night photo is brightened and sharpened.
Computer vision: the plate region is detected and the characters MP 04 AB 1234 are read.
The system matches the number with the FASTag record and opens the gate.
So image processing prepares the picture. Computer vision understands it.
Real-life example
A photo studio that brightens and smooths your passport photo is doing image processing. The airport e-gate that looks at your face and lets you in after matching your passport is doing computer vision.
“Explain the concept of binary image processing. How do thresholding, erosion, and dilation contribute to object recognition?” (Jun 2025)
“Explain the process of binary image thresholding, implement adaptive thresholding numerically on a 4×4 grayscale image.” (Dec 2025)
“Explain the concept of thresholding in binary image processing. How can you choose an optimal threshold value for a given image? Provide an example.” (Nov 2023)
The short answer
Thresholding turns a grey image into a binary image. Every pixel above a threshold T becomes 1 (white) and every pixel at or below it becomes 0 (black). Adaptive thresholding uses a different T for each small region.
Write these points
Types
Global (simple): one T for the whole image.
Optimal: T chosen from the histogram, such as Otsu's method, which picks the T that best separates the two groups of pixels.
Adaptive: T is the mean or Gaussian weighted mean of each neighbourhood minus a small constant C.
Choosing an optimal T (iterative method)
Start with T = mean of all pixels.
Split pixels into G1 (> T) and G2 (≤ T).
Find their means m1 and m2.
New T = (m1 + m2) ÷ 2.
Repeat until T stops changing.
Role in binary image processing
Separates objects from background.
Gives the input for erosion, dilation, contours and component labelling.
Helps in OCR, cell counting and defect checking.
Adaptive thresholding on a 4 × 4 image (Dec 2025 type).
Global T = mean of all 16 pixels = 1,850 ÷ 16 = 115.6. Whole bright areas turn white. The small spots 80 and 130 are lost or mixed.
Adaptive: split into four 2 × 2 blocks. Block means are 38.75, 181.25, 161.25 and 81.25.
In each block only the brightest pixel is above its mean: 80, 230, 210 and 130. All four spots are found.
Real-life example
A teacher who passes everyone above 40 marks in every section uses a global threshold. A teacher who passes the top students of each section, because one section had a much harder paper, uses an adaptive threshold.
Figure: global and adaptive thresholding of the same image
Same or opposite: global and adaptive thresholding
Point
Global
Adaptive
Same or opposite
Number of thresholds
One
One per region
Opposite
Works with uneven light
Poorly
Well
Opposite
Output
Binary image
Binary image
Same
Speed
Faster
Slower
Opposite
Exam tip. Define thresholding with its formula. Then show the adaptive numerical step by step in a 4 × 4 grid. Mention Otsu as the optimal method.
Q3. Morphological operations: erosion, dilation, opening and closing
Asked 3 times in 2023, 2025 · Unit 2
From the papers
“Explain the concept of binary image processing. How do thresholding, erosion, and dilation contribute to object recognition?” (Jun 2025)
“Describe morphological operations- Erosion and Dilation. Show the result of dilation on the binary image I = [0 1 0; 1 1 0; 0 1 1] using structuring element B = [1 1; 1 1].” (Dec 2025)
“Describe the operations of erosion and dilation in binary image processing. How can these operations be used for noise removal and object size modification in binary images?” (Nov 2023)
The short answer
Morphological operations change the shape of objects in a binary image using a small pattern called the structuring element (SE). Dilation grows objects. Erosion shrinks them. Opening and closing combine the two.
Write these points
The four operations
Operation
Rule
Effect
Dilation (A ⊕ B)
Pixel is 1 if the SE touches any 1
Grows objects, fills small holes and gaps
Erosion (A ⊖ B)
Pixel is 1 only if the SE fits fully inside
Shrinks objects, removes small specks
Opening
Erosion, then dilation
Removes small noise, keeps size
Closing
Dilation, then erosion
Fills small holes, joins breaks
Uses
Noise removal: opening removes white specks, closing removes black holes.
Changing object size: dilate to thicken text, erode to separate touching coins.
Edge outline: dilation minus erosion.
Clean up after thresholding before counting objects.
Dilation asked in December 2025.
I = [0 1 0; 1 1 0; 0 1 1] has 5 ones. B = [1 1; 1 1] with its origin at the top left.
Place B on each 1 of I and paint the 2 × 2 square to its right and below. Keep the 3 × 3 size.
Result I ⊕ B = [0 1 1; 1 1 1; 1 1 1]. It has 8 ones, so the object has grown.
Erosion with the same B gives all zeros, because no 2 × 2 block of I is fully 1.
Real-life example
Dilation is like spreading butter on bread: the coated area grows a little on every side. Erosion is like trimming the crust: every edge loses a little. Trimming and then spreading again (opening) removes small crumbs but keeps the slice.
Figure: dilation of the December 2025 image
Same or opposite: erosion and dilation
Point
Erosion
Dilation
Same or opposite
Object size
Shrinks
Grows
Opposite
Uses a structuring element
Yes
Yes
Same
Removes
Small white specks
Small black holes
Opposite
Works on binary images
Yes
Yes
Same
Exam tip. Write the rule for each operation, then do the numerical in grids. Always state where the SE's origin is, because the answer depends on it.
Connected component analysis (CCA) gives a separate label to each group of touching 1 pixels in a binary image, so each object can be counted and measured. Contour analysis traces the boundary of each object to study its shape.
Write these points
CCA algorithm (two pass)
Scan the image row by row.
For each 1 pixel, look at already scanned neighbours (4 or 8 connectivity).
If none is labelled, give a new label. If some are, take the smallest label and note that the labels are equal.
Second pass: replace each label by its smallest equal label.
Count labels and measure each component's area and box.
Contour analysis
cv2.findContours gives each object's border points.
Shape tests: number of corners (approxPolyDP), aspect ratio, circularity = 4πA ÷ P².
Use in segmentation and recognition
Count coins, cells or tablets in a strip.
Remove components smaller than a size limit (noise).
Recognise shapes such as signboards or number plates.
Is the shape a circle or a square?.
A square of side 10 pixels: A = 100, P = 40. Circularity = 4π × 100 ÷ 1,600 = 0.785.
A circle of radius 10: A = 314.2, P = 62.8. Circularity = 4π × 314.2 ÷ 3,944 = 1.0.
approxPolyDP on the square's contour gives 4 corners. Aspect ratio = 10 ÷ 10 = 1.
So 4 corners with ratio 1 means a square. Circularity near 1 with many corners means a circle.
Real-life example
A teacher on a school ground counts groups of students standing together: each group gets a number, which is CCA. Then she walks around one group's edge to see if it stands in a circle or a line, which is contour analysis.
Figure: connected component labelling of a small image
Same or opposite: connected components and contours
Point
Connected components
Contours
Same or opposite
Works on binary images
Yes
Yes
Same
Gives
Labels for whole regions
Border points
Opposite
Main use
Counting and area
Shape analysis
Opposite
Helps segmentation
Yes
Yes
Same
Exam tip. Write the two pass steps and draw the labelled grid. For contours, give the circularity formula with one small sum.
Q5. Convolution and image smoothing: box, Gaussian and median blur
Asked 3 times in 2023, 2025 · Unit 3
From the papers
“Explain convolution in image filtering. Compare and contrast different smoothing techniques such as Box Blur, Gaussian Blur and Median Blur.” (Jun 2025)
“Compare Image Filtering methods Box blur, Gaussian blur and Median blur with help of example.” (Dec 2025)
“Explain the role of convolution in image filtering. How is a filter (kernel) applied to an image using convolution?” (Nov 2023)
“Define image smoothing and its role in image processing. Why is it essential to reduce noise or enhance an image's appearance?” (Nov 2023)
The short answer
Convolution slides a small matrix called a kernel over the image. At each place it multiplies the overlapping values, adds them and writes the sum at the centre pixel. Smoothing uses such kernels to reduce noise.
Write these points
Steps of convolution
Flip the kernel (for true convolution; symmetric kernels need no flip).
Place it on a pixel with its centre on that pixel.
Multiply each kernel value by the pixel under it.
Add the products and divide if the kernel is normalised.
Write the result in the output image. Move to the next pixel.
Median blur: sorted values are eight 10s and one 200. The middle value is 10.
So median removes the speck fully. For scanned exam papers with dots, median blur is the right choice.
Real-life example
Smoothing is like taking the average marks of the students sitting around you to guess your own. If one student scored oddly high, the average is pulled up (box blur). Taking the middle student's marks (median) ignores that odd one.
Figure: one step of convolution with a Gaussian kernel
Same or opposite: Gaussian blur and median blur
Point
Gaussian
Median
Same or opposite
Type
Linear (weighted average)
Non-linear (middle value)
Opposite
Best against
Gaussian noise
Salt and pepper noise
Opposite
Reduces noise
Yes
Yes
Same
Edges
Slightly blurred
Kept sharp
Opposite
Exam tip. Draw the kernel sliding on a grid and do one sum. Then give the three filter table and say which one you would choose and why.
Q6. Colour spaces, colour transforms and colour adjustment with curves
Asked 3 times in 2023, 2025 · Unit 3
From the papers
“What are color spaces and how are they used in image processing? Discuss the role of histogram equalization in image enhancement.” (Jun 2025)
“Explain different types of color spaces and their transformation equations (RGB→HSV, RGB→LAB).” (Dec 2025)
“Explain the difference between gray scale and colour image.” (Nov 2023)
“Define colour transforms in image processing. Provide an example of a colour transform and explain how it alters the appearance of an image?” (Nov 2023)
The short answer
A colour space is a way of describing colours with numbers. A colour transform converts an image from one colour space to another, or changes its colours with a rule such as a curve.
Write these points
Grey scale and colour image
Grey scale: one channel, 0 (black) to 255 (white), 1 byte per pixel.
Colour: three channels (R, G, B), 3 bytes per pixel.
RGB to grey: Y = 0.299R + 0.587G + 0.114B.
Common colour spaces
Space
Channels
Used for
RGB / BGR
Red, green, blue
Screens, cameras; OpenCV uses BGR order
HSV
Hue, saturation, value
Picking objects by colour, skin detection
Lab
Lightness, a (green to red), b (blue to yellow)
Colour difference close to human vision
YCrCb
Brightness plus two colour parts
Video compression, face detection
RGB to HSV equations (values scaled to 0 to 1)
V = max(R, G, B). S = (max − min) ÷ max.
If max = R: H = 60 × (G − B) ÷ (max − min).
If max = G: H = 60 × (2 + (B − R) ÷ (max − min)). If max = B: H = 60 × (4 + (R − G) ÷ (max − min)).
Colour adjustment using curves
A curve maps each input level to an output level.
An S curve raises contrast. Lifting only the blue curve cools the image.
Needed in product photos, printing and medical images where exact colour matters.
Describing a sari to a shopkeeper, you may say "dark red, very bright". That is closer to HSV (hue, saturation, value) than to giving three RGB numbers. This is why HSV is easier for picking objects by colour.
Figure: common colour spaces
Same or opposite: RGB and HSV
Point
RGB
HSV
Same or opposite
Channels
3
3
Same
Separates colour from brightness
No
Yes
Opposite
Best for
Display
Colour based detection
Opposite
Changes with light
A lot
Less in hue
Opposite
Exam tip. Name four colour spaces in a table. Write the HSV equations and convert one pixel. For curves, draw an S curve in words or a small sketch.
Q7. Image enhancement, histogram equalization and CLAHE
Asked 3 times in 2023, 2025 · Unit 3
From the papers
“What are color spaces and how are they used in image processing? Discuss the role of histogram equalization in image enhancement.” (Jun 2025)
“Numerically compute Histogram Equalization for an image having pixel intensities [52, 55, 61, 66, 70, 61, 64, 73]” (Dec 2025)
“Explain the concept of image enhancement and its importance in image processing. Provide examples of scenarios where image enhancement is necessary.” (Nov 2023)
Image enhancement makes an image clearer for people or for later steps. Histogram equalization spreads the grey levels of a dull image over the full 0 to 255 range to raise contrast. CLAHE does this tile by tile with a limit, so noise is not boosted.
Write these points
Histogram equalization steps
Count pixels at each grey level (histogram).
Find the probability p(r) = count ÷ total pixels.
Find the cumulative sum (CDF).
New level s = round(255 × CDF).
Replace each pixel with its new level.
CLAHE
Splits the image into tiles, for example 8 × 8.
Equalises each tile on its own.
Clips the histogram at a limit before equalising, so flat areas do not become noisy.
Joins tiles smoothly by interpolation. Used for X-rays and night photos.
When enhancement is needed
Dark CCTV footage.
Faded document scans.
Medical X-rays and satellite images.
Equalising [52, 55, 61, 66, 70, 61, 64, 73] (asked in December 2025).
Output image: [32, 64, 128, 191, 223, 128, 159, 255]. The range grows from 21 levels to 223.
Real-life example
In a class where everyone scored between 52 and 73, the teacher grades on a curve: the lowest mark becomes grade E and the highest becomes A+. Differences that looked tiny now stand out. Histogram equalization does this to grey levels.
Figure: histogram before and after equalization
Same or opposite: histogram equalization and CLAHE
Point
Histogram equalization
CLAHE
Same or opposite
Area used
Whole image
Small tiles
Opposite
Noise boost
Can be high
Limited by clipping
Opposite
Raises contrast
Yes
Yes
Same
Uses the CDF
Yes
Yes
Same
Exam tip. Make a table with columns for level, count, CDF and new level. Show the final image. Add CLAHE as a short note at the end.
Q8. Image segmentation and its link to recognition
Asked 3 times in 2023, 2025 · Unit 4
From the papers
“Discuss the various techniques used for image segmentation. How does image classification differ from object detection?” (Jun 2025)
“What is image segmentation and how is it related to image recognition? Describe the steps involved in segmenting objects within an image.” (Nov 2023)
“Short note: Image Segmentation” (Dec 2025)
The short answer
Image segmentation divides an image into regions, each belonging to one object or the background. It is the step before recognition: once an object's region is cut out, its features can be measured and classified.
Write these points
Steps in segmenting objects
Pre-process: smooth and enhance.
Segment: threshold, find edges or grow regions.
Clean up with morphology.
Label regions with connected components.
Extract features (area, shape, colour).
Recognise or classify each region.
Techniques
Technique
Idea
Example
Thresholding
Split by intensity
Text on paper
Edge based
Follow strong edges
Outline of a building
Region growing
Start at a seed, add similar neighbours
Tumour in an MRI
Clustering (k-means)
Group pixels by colour
Sky, land, water
Watershed
Treat intensity as hills and valleys
Touching coins
Deep learning
U-Net, Mask R-CNN
Road scenes
Region growing from a seed.
Seed pixel = 100. Rule: add a neighbour if it differs from the seed by 10 or less.
Neighbours are 104, 96, 150 and 98. Accept 104, 96 and 98. Reject 150.
From 104, its neighbours 108 and 160: accept 108, reject 160.
The region stops at the 150 and 160 pixels, which mark the object's boundary.
Real-life example
Before counting mangoes in a basket photo, you first mark where each mango is, separate from leaves and the basket. That marking is segmentation. Saying "this one is Alphonso" afterwards is recognition.
Figure: from image to recognised objects
Same or opposite: segmentation and recognition
Point
Segmentation
Recognition
Same or opposite
Question answered
Where are the regions?
What is each region?
Opposite
Order
First
After segmentation
Opposite
Part of computer vision
Yes
Yes
Same
Output
Region map
Labels
Opposite
Exam tip. Write the steps as a flow and the technique table. A short region growing example gets full marks.
“Explain the significance of gesture recognition in computer vision. How can motion estimation be applied in real-world scenarios?” (Jun 2025)
“Explain the process of Gesture Recognition using OpenCV and Deep Learning.” (Dec 2025)
“Define gesture recognition in the context of computer vision. How does it enable human-computer interaction?” (Nov 2023)
The short answer
Gesture recognition lets a computer understand hand or body movements from a camera, such as a wave or a thumbs up. It allows people to control devices without touching them, a form of human-computer interaction.
Write these points
Process using OpenCV and deep learning
Capture frames from the webcam with cv2.VideoCapture.
Find the hand: skin colour in HSV or YCrCb, or a hand detector such as MediaPipe.
Segment the hand and find its contour.
Extract features: convex hull, convexity defects, or 21 hand key points from a deep model.
Classify the gesture with rules or a CNN/LSTM trained on gesture images or sequences.
Map the gesture to an action, such as volume up.
Uses
Touch-free kiosks and smart TVs.
Sign language translation.
Gaming and VR.
Controlling robots and car dashboards.
Challenges
Different skin tones and light.
Background clutter.
Fast motion blur.
Different users make gestures differently.
Counting raised fingers.
The hand contour's convex hull is found.
Convexity defects are the deep valleys between fingers. Only defects deeper than 20 pixels with an angle under 90° are kept.
4 such valleys are found, so fingers = 4 + 1 = 5.
The app reads 5 fingers as "open palm" and pauses the video.
Real-life example
A traffic policeman controls cars with hand signals and the drivers understand them without words. Gesture recognition teaches a camera to understand such signals.
Figure: gesture recognition pipeline
Same or opposite: rule based and deep learning gesture recognition
Point
Rule based (contours)
Deep learning
Same or opposite
Needs training data
No
Yes, many images
Opposite
Accuracy in clutter
Low
High
Opposite
Uses OpenCV for capture
Yes
Yes
Same
Speed on a laptop
Very fast
Fast with a small model
Opposite
Exam tip. Write the six steps as a flow. Add one use and one challenge in each list. The finger count example shows the method clearly.
Q10. Deep learning with OpenCV, face detection and applications of computer vision
Asked 3 times in 2023, 2025 · Unit 5
From the papers
“How does face detection work in computer vision? Explain the role of deep learning techniques in improving face detection accuracy.” (Jun 2025)
“How can computer vision techniques be adapted for remote sensing and satellite image analysis? Discuss the key challenges.” (Jun 2025)
“Explain the role of AI-driven computer vision in medical imaging. How has it transformed the healthcare industry?” (Jun 2025)
“What is OpenCV, and how is it used in deep learning for computer vision tasks?” (Nov 2023)
The short answer
OpenCV is an open source library for image processing and computer vision. Its dnn module runs trained deep learning models (from TensorFlow, PyTorch via ONNX, Caffe) for tasks such as face detection, object detection and classification.
Write these points
How face detection works
Classic: Haar cascades (Viola-Jones) slide windows with simple light and dark features and a cascade of quick tests.
HOG + SVM: gradient histograms describe the face shape.
Deep learning: a CNN detector (SSD, MTCNN, RetinaFace) predicts face boxes with a confidence score.
Why deep learning is more accurate
Learns features from lakhs of faces, not hand made rules.
Works with side faces, masks, poor light.
Gives a confidence for each box.
Deep learning with OpenCV (steps)
Load the model: cv2.dnn.readNetFromONNX or readNetFromCaffe.
Make a blob: resize and normalise the image.
net.setInput(blob), then net.forward().
Keep results above a confidence threshold and draw boxes.
Applications
Medical imaging: finding tumours in MRI and diabetic eye disease in retina photos.
Remote sensing: crop health, flood mapping, land use. Challenges: huge images, cloud cover, few labels.
Attendance by face, retail footfall counting, quality checks in factories.
Face detection with the OpenCV DNN module.
A 1280 × 720 photo is resized to a 300 × 300 blob and passed to an SSD face model.
The model returns 3 boxes with confidences 0.97, 0.91 and 0.32.
With a threshold of 0.5, two faces are kept and the 0.32 box (a poster) is dropped.
The boxes are scaled back to 1280 × 720 and drawn on the photo.
Real-life example
A school gate camera that marks attendance by face is a full computer vision system. OpenCV reads the video. A deep model finds and matches faces. The attendance sheet is filled without a roll call.
Figure: deep learning face detection with OpenCV
Same or opposite: Haar cascade and deep learning face detection
Point
Haar cascade
Deep learning (SSD)
Same or opposite
Features
Hand made
Learned
Opposite
Side and masked faces
Often missed
Usually found
Opposite
Runs in OpenCV
Yes
Yes
Same
Speed on CPU
Very fast
Fast
Opposite
Exam tip. Explain the three methods of face detection in order of age. Then give OpenCV dnn steps and two applications with one challenge each.
Q11. Image gradients and edge detection: first and second order filters, Sobel and Canny
Asked 2 times in 2023, 2025 · Unit 4
From the papers
“Derive the Sobel operator used for gradient calculation and show its effect on a sample 3×3 image.” (Dec 2025)
“Differentiate between first order and second order derivative filters with mathematical examples.” (Dec 2025)
“Explain the Canny Edge detection algorithm, including its key steps and the role of various parameters.” (Nov 2023)
The short answer
An image gradient measures how fast intensity changes. First order filters (Sobel, Prewitt) use the first derivative and find edges as peaks. Second order filters (Laplacian) use the second derivative and find edges at zero crossings. Canny is a multi-step edge detector built on gradients.
Write these points
First and second order compared
Point
First order
Second order
Formula
∂f/∂x ≈ f(x+1) − f(x)
∂²f/∂x² ≈ f(x+1) + f(x−1) − 2f(x)
Edge shows as
A peak
A zero crossing
Noise
Less sensitive
More sensitive
Examples
Sobel, Prewitt, Roberts
Laplacian, LoG
Sobel operator
It joins smoothing [1 2 1] with a difference [−1 0 1].
Gx = [−1 0 1; −2 0 2; −1 0 1], Gy is its transpose.
Gaussian blur to remove noise (σ sets the amount).
Sobel gradients: magnitude and direction.
Non-maximum suppression: keep only the thin peak line.
Double threshold: strong (above high), weak (between low and high).
Hysteresis: keep weak edges only if joined to strong ones.
First and second derivative of an edge.
Row of pixels: 10, 10, 10, 50, 90, 90, 90.
First differences: 0, 0, 40, 40, 0, 0. The peak marks the edge.
Second differences: 0, 40, 0, −40, 0. The sign changes from +40 to −40 at the edge centre (zero crossing).
Sobel on [10 10 100; 10 10 100; 10 10 100] gives Gx = 400 − 40 = 360 and Gy = 0. It is a vertical edge of strength 360.
Real-life example
Walking up a hill, the first derivative is how steep the slope is: steepest at the middle of the climb. The second derivative tells you when the slope stops getting steeper and starts easing. That turning point is the zero crossing.
Figure: Sobel gradient on a 3 × 3 image
Same or opposite: Sobel and Laplacian
Point
Sobel
Laplacian
Same or opposite
Derivative
First
Second
Opposite
Gives direction
Yes
No
Opposite
Finds edges
Yes
Yes
Same
Noise sensitivity
Lower
Higher
Opposite
Exam tip. Write both formulas and the table. Derive Sobel from smoothing times difference and do the 3 × 3 sum. For Canny, list five steps in order.
Q12. Basic image operations: datatype conversion, contrast and brightness
Asked 2 times in 2023, 2025 · Unit 1
From the papers
“Perform the following numerical operations on a 3×3 image matrix I = [100 150 200; 50 100 150; 0 50 100]: (i) Apply contrast stretching operation with new intensity range (0,255). (ii) Apply brightness enhancement by +50 intensity shift.” (Dec 2025)
“Discuss the mathematical operations performed on digital images. Explain datatype conversion with example in OpenCV.” (Dec 2025)
“Describe the concept of data type conversion in image processing. How does it impact image quality and storage?” (Nov 2023)
The short answer
Basic image operations change pixel values directly. Datatype conversion changes how each pixel is stored, such as 8-bit integers to 32-bit floats. Contrast stretching spreads values over a full range. Brightness enhancement adds a constant to every pixel.
Brightness +50: [150 200 250; 100 150 200; 50 100 150]. No value crosses 255, so none is clipped.
Stretching widened the range from 200 to 255 levels. Brightness only shifted it up.
Real-life example
Turning up the brightness on your phone lifts every part of the picture by the same amount. Turning up contrast makes the dark parts darker and the bright parts brighter, so the full range is used.
Figure: safe arithmetic on images
Same or opposite: contrast and brightness enhancement
Point
Contrast stretching
Brightness shift
Same or opposite
Operation
Multiply and shift
Add a constant
Opposite
Range of values
Widens
Same width
Opposite
Point operation on each pixel
Yes
Yes
Same
Risk
None if done right
Clipping at 255
Opposite
Exam tip. Write the formula first, then fill a new 3 × 3 matrix for each part. Show one rounding step so the examiner sees your method.
“Discuss the various techniques used for image segmentation. How does image classification differ from object detection?” (Jun 2025)
“Discuss various object detection techniques in Computer Vision with suitable examples.” (Dec 2025)
The short answer
Image classification gives one label to a whole image. Object detection finds every object in the image, draws a box around each and labels it. Segmentation goes further and labels every pixel.
Write these points
Differences
Point
Classification
Object detection
Output
One label (and score)
Boxes + labels + scores
Objects per image
One main object
Many
Models
ResNet, MobileNet
YOLO, SSD, Faster R-CNN
Measure
Accuracy
mAP, IoU
Object detection techniques
Classic: sliding window with HOG + SVM, Haar cascades.
Two stage: R-CNN, Fast R-CNN, Faster R-CNN. First propose regions, then classify them. Accurate.
One stage: YOLO, SSD, RetinaNet. Predict boxes and classes in one pass. Fast, good for video.
Transformers: DETR.
Key ideas
Anchor boxes of different shapes.
IoU (intersection over union) checks box overlap.
Non-maximum suppression removes duplicate boxes.
IoU of a predicted box.
True box A from (50, 50) to (150, 150): area 100 × 100 = 10,000.
Predicted box B from (100, 100) to (200, 200): area 10,000.
Overlap from (100, 100) to (150, 150) = 50 × 50 = 2,500. Union = 10,000 + 10,000 − 2,500 = 17,500.
IoU = 2,500 ÷ 17,500 = 0.14. This is below 0.5, so the detection counts as wrong.
Real-life example
Telling your friend "this photo is of a wedding" is classification. Pointing at the bride, the groom and the cake one by one is detection. Colouring each person's outline exactly is segmentation.
Figure: classification, detection and segmentation
Same or opposite: classification and object detection
Point
Classification
Detection
Same or opposite
Uses CNNs
Yes
Yes
Same
Location given
No
Yes, boxes
Opposite
Objects handled
One
Many
Opposite
Example model
ResNet
YOLO
Opposite
Exam tip. Draw the three panel figure. Write the table and name one model from each detection family. The IoU sum is a quick way to show depth.
“Explain the significance of gesture recognition in computer vision. How can motion estimation be applied in real-world scenarios?” (Jun 2025)
“Explain Motion Estimation and Object Tracking algorithms with help of examples.” (Dec 2025)
The short answer
Motion estimation finds how pixels or objects move between video frames, usually as motion vectors or optical flow. Object tracking follows a chosen object from frame to frame and keeps its identity.
Write these points
Motion estimation methods
Frame differencing: subtract two frames; changed pixels are moving.
Background subtraction: MOG2 model of the still background.
Optical flow: Lucas-Kanade (sparse points) and Farneback (dense).
Block matching: used in video compression (MPEG).
Tracking algorithms
Tracker
Idea
Mean shift / CamShift
Follows the colour histogram peak
Kalman filter
Predicts the next position, then corrects it
KCF, CSRT (OpenCV)
Learned correlation filters
SORT / DeepSORT
Detector + Kalman + matching by IoU or appearance
Real-world uses
Traffic speed cameras and vehicle counting.
Cricket ball tracking (Hawk-Eye).
Video stabilisation and compression.
Gesture and sports analysis.
Speed of a car from motion vectors.
At 30 frames per second, the car's centre moves from (100, 50) to (112, 55) in one frame.
If 1 pixel = 5 cm on the road, speed = 19.5 m/s = 70.2 km/h.
Real-life example
In a cricket match the TV shows the ball's path after an LBW appeal. The system estimates the ball's motion in every frame and tracks it until it would have hit the stumps. That is motion estimation and tracking working together.
Figure: tracking by detection
Same or opposite: motion estimation and object tracking
Point
Motion estimation
Object tracking
Same or opposite
Output
Motion vectors or flow
Path of one object
Opposite
Keeps identity
No
Yes
Opposite
Works on video frames
Yes
Yes
Same
Example
Optical flow
Kalman, CSRT
Opposite
Exam tip. Define both terms, list methods and trackers, then do the speed sum. Name the Kalman filter, because examiners look for it.
What are the most important topics in Computer Vision?
By how often they were asked in the papers on this site: Computer vision and image processing: meaning, differences and problems (3 times); Thresholding: global, optimal and adaptive (3 times); Morphological operations: erosion, dilation, opening and closing (3 times); Connected component analysis and contour analysis (3 times); Convolution and image smoothing: box, Gaussian and median blur (3 times).
How were these Computer Vision important questions chosen?
Each topic was counted from the questions in the past papers listed on this site (2023-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 Computer Vision important questions with answers?
Yes. The Paperwala Imp Question & Answer PDF for Computer Vision is free to download from this page.
The 14 most repeated topics of Computer Vision (AL-701) for RGPV B.Tech CSE-AIML semester 7, counted from the previous year papers on this site.