Kit Library / Computer Science / Artificial Intelligence

⚡ Topic Learning Kit

Computer Vision: From Pixels to CNNs

English 18 leveled MCQs 20 flashcards 9 games Free

Shared by a Veda learner · Generated with Veda AI

Veda Bites

The whole idea, one bite at a time

Veda Bites are swipeable micro-lessons — each one teaches exactly one idea. The bites below come from this kit — swipe through them in the app.

💡 Key Idea

Computer Vision: Giving Machines the Power to See

Machines don't just see — they understand.

Computer Vision is a field of AI that enables machines to extract information from images and videos and make sense of visual data the way humans do.

↳ Computer Vision mirrors human vision: a sensing device captures data, and an algorithm interprets it.

📖 Definition

Computer Vision vs. Image Processing

One is the tool, the other is the goal.

↳ Image processing prepares the image; computer vision understands it.

⭐ Important Fact

When Did Computer Vision Begin?

It all started in the 1970s.

The concept of computer vision was first introduced in the 1970s. Since then, advances in technology have made it accessible across industries — from smart homes to self-driving cars.

↳ Computer vision is not new — it has evolved over five decades into everyday technology.

🌍 Real World

Computer Vision in Everyday Life

Your phone already uses computer vision.

↳ Computer vision powers security, social media, shopping, healthcare, and transportation.

⚖️ Comparison

The Four Core Computer Vision Tasks

Four tasks power every CV application.

↳ Tasks progress from simple labeling to pixel-level understanding of multiple objects.

📖 Definition

Pixels: The Smallest Unit of an Image

Every photo is just a grid of tiny squares.

↳ More pixels = higher resolution = closer resemblance to the original scene.

➗ Formula

Why Pixel Values Range from 0 to 255

8 bits = 256 possible values.

0 represents black (no color) and 255 represents white (full color).

↳ The 0–255 range comes directly from 8-bit binary storage.

⚖️ Comparison

Grayscale vs. RGB Images

One channel or three?

↳ RGB images store three intensity values per pixel; grayscale stores one.

💡 Key Idea

What Makes a Good Image Feature?

Corners beat edges. Edges beat flat areas.

A feature is information in an image useful for solving a task — such as points, edges, or corners. Good features are unique and easy to locate.

↳ Corners are the best features because they are unique; edges are second; flat regions are worst.

⚙️ Process

How Convolution Works: Step by Step

Slide, multiply, sum — that's convolution.

↳ Convolution = element-wise multiplication of image and kernel, then sum — repeated across the whole image.

📖 Definition

What Is a Kernel?

The tiny matrix that changes everything.

Different kernel values produce different effects — positive values, negative values, or a mix all change the output image.

↳ The kernel is the filter — change its values, change the effect.

⚠️ Common Mistake

Convolution Shrinks the Output Image

Your output is smaller — here's why.

↳ Convolution shrinks the image unless you pad the edges with zeros.

💡 Key Idea

CNN: The Four Layers That Power Deep Learning

Four layers turn pixels into predictions.

A Convolutional Neural Network (CNN) is a deep learning algorithm that assigns learnable weights and biases to image features and differentiates objects from one another.

↳ CNN = Convolution → ReLU → Pooling → Fully Connected, working together to classify images.

🛠️ Application

No-Code AI Tools for Computer Vision

Build a CV model without writing code.

↳ No-code tools let you train and test computer vision models without programming.

✏️ Example

Real Use Case: Detecting Coral Bleaching

CV protects marine ecosystems.

↳ CV isn't just tech — it solves real environmental problems.

🎯 Exam Tip

Exam Tip: Remember the Task Hierarchy

Classification → Localisation → Detection → Segmentation.

Exams often ask you to distinguish the four CV tasks. Remember the progression: classification (one label) → localisation (label + location, single object) → detection (multiple objects) → segmentation (pixel-level labels).

↳ The tasks build on each other — from whole-image labels to pixel-level detail.

🧠 Memory Trick

Memory Trick: CNN Layer Order

C-R-P-F: Convolution, ReLU, Pool, Fully.

Remember the CNN layer order with C-R-P-F: Convolution → ReLU → Pooling → Fully Connected.

↳ C-R-P-F keeps the CNN architecture order locked in memory.

Smart notes

What you'll study, topic by topic

1

Computer Vision: From Pixels to CNNs

20 min

Computer Vision enables machines to interpret visual data like images and videos. This unit covers how images are stored as pixels, core vision tasks (classification, detection, segmentation), image features, convolution…

  • Computer Vision is a branch of AI that enables machines to interpret and understand visual information from images and videos.
  • Human vision uses the eye as a sensing device and the brain as an interpreting device; computer vision mirrors this with a camera and an alg…
  • A pixel is the smallest unit of a digital image, typically arranged in a 2-D grid.

Full explanation, worked examples & memory tricks in the app

Leveled MCQ practice

Try the smart MCQs from this kit

All 18 questions, laddered from warm-up to topper-level, each with its answer and the reasoning behind it.

Warm-up · 8 questions

Q1. What is the smallest unit of a digital image called?

Beginner
A Kernel
B Channel
C Feature
D Pixel

Answers and explanations are in the Veda app.

Q2. In an 8-bit grayscale image, what does a pixel value of 0 represent?

Beginner
A Mid-gray
B White
C Transparent
D Black

Answers and explanations are in the Veda app.

Q3. What does convolution do?

Beginner
A Divides the image by the kernel.
B Multiplies image and kernel element-wise, then sums.
C Adds the kernel to every pixel without multiplication.
D Replaces each pixel with the kernel's average.

Answers and explanations are in the Veda app.

Q4. Which layer in a CNN is responsible for extracting features from the input image?

Beginner
A Pooling layer
B Convolution layer
C ReLU layer
D Fully connected layer

Answers and explanations are in the Veda app.

Q5. What is the primary purpose of a kernel in convolution?

Beginner
A To store the image's metadata.
B To split the image into channels.
C To produce a desired effect like blurring or sharpening.
D To convert the image to text.

Answers and explanations are in the Veda app.

Q6. In an RGB image, how many values are stored per pixel?

Beginner
A Two
B Four
C Three
D One

Answers and explanations are in the Veda app.

Q7. What is the output of image processing typically?

Beginner
A A text description of the image
B A segmentation mask
C An enhanced or prepared image
D A bounding box around objects

Answers and explanations are in the Veda app.

Q8. Pixel values in an 8-bit image range from 0 to 255 because each pixel uses 1 byte (8 bits), giving $2^8 = 256$ possible values.

Beginner
A True
B False

Answers and explanations are in the Veda app.

Building up · 5 questions

Q9. Which statement correctly describes the relationship between computer vision and image processing?

Intermediate
A They are exactly the same thing.
B They are completely unrelated fields.
C Image processing is a superset of computer vision.
D Computer vision is a superset of image processing.

Answers and explanations are in the Veda app.

Q10. A system draws a box around a single dog in a photo and labels it 'dog'. Which task is this?

Intermediate
A Object detection
B Classification + localisation
C Instance segmentation
D Image processing

Answers and explanations are in the Veda app.

Q11. Why is padding used before convolution?

Intermediate
A To increase the image resolution.
B To keep the output size equal to the input size.
C To remove noise from the image.
D To convert colour images to grayscale.

Answers and explanations are in the Veda app.

Q12. A self-driving car identifies pedestrians, other vehicles, and traffic signs in a single frame. Which task best describes this?

Intermediate
A Instance segmentation
B Object detection
C Image processing
D Classification

Answers and explanations are in the Veda app.

Q13. Which task assigns a label to every pixel in an image?

Intermediate
A Instance segmentation
B Classification
C Localisation
D Object detection

Answers and explanations are in the Veda app.

Topper level · 5 questions

Q14. Why are corners considered better features than edges?

Advanced
A Edges are unique in every direction; corners only along one.
B Corners are larger than edges in the image.
C Corners are unique in every direction; edges only along one.
D Corners are always brighter than edges.

Answers and explanations are in the Veda app.

Q15. Which of the following is a poor feature for tracking because it looks identical wherever it is moved?

Advanced
A An edge
B A corner
C A flat region
D A unique texture

Answers and explanations are in the Veda app.

Q16. A CNN processes an image through several layers. Which sequence correctly lists a typical order?

Advanced
A Convolution → ReLU → Pooling → Fully connected
B ReLU → Fully connected → Pooling → Convolution
C Fully connected → Convolution → ReLU → Pooling
D Pooling → Convolution → Fully connected → ReLU

Answers and explanations are in the Veda app.

Q17. Given the convolution operation defined as $$(I * K)[i,j] = \sum_{m}\sum_{n} I[i+m, j+n] \cdot K[m,n]$$, if the kernel $K$ is a 3x3 matrix used for edge detection, how would the output size change if no padding is applied to an input image of size 1280x1024?

Advanced
A 1278x1022
B 1280x1024
C 1281x1025
D 1280x1023

Answers and explanations are in the Veda app.

Q18. In the context of computer vision tasks, if an algorithm is designed to perform instance segmentation on an image, which of the following outputs would be expected?

Advanced
A Multiple labels indicating the type of objects present
B A mask labeling every pixel with its corresponding object
C A list of objects detected without spatial information
D A single bounding box around the largest object

Answers and explanations are in the Veda app.

Flashcards

Tap a card to flip it

20 flashcards in this kit — the app reviews them with spaced repetition so the right card returns on the right day.

Learning games

Play your way through this kit

Every game is built from this kit's own content — scores feed your mastery, so playing counts as studying.

🎮

Word Match

Built from this kit's own content

🎮

True False

Built from this kit's own content

🎮

Memory Match

Built from this kit's own content

🎮

Flashcard Battle

Built from this kit's own content

🎮

Speed Quiz

Built from this kit's own content

🎮

Guess Term

Built from this kit's own content

🎮

Sequence Builder

Built from this kit's own content

🎮

Categorization

Built from this kit's own content

🎮

Revision Battle

Built from this kit's own content

Playable in the app

Study it properly — free, in the app

The full Veda Bites deck, complete notes, spaced-repetition flashcards, leveled MCQs, tests and games for this kit — plus Daily Facts and the Arena, every day.