Intermediate level · Module 1: Machine Learning for Image Analysis · Lesson 3 of 3
The Limits of Hand-Crafted Features
Learners stress-test their best classical pipeline with rotations, scale changes, clutter and lighting, and identify why learned features (CNNs) are needed.
In this lesson you will
- Measure how classical pipelines fail under realistic variation
- Explain the motivation for learned features
Key concepts
invariancerobustness testsclutter and occlusionlearned featuresrepresentation learning
The lesson
Hand-crafted features capture what their designer chose: colour, gradients, corners. They break when the important information is something else, or when images vary in ways the features are sensitive to.
A robustness test applies controlled changes (rotate 30 degrees, zoom, darken, add background clutter) to test images and measures the drop in accuracy for each change.
Convolutional neural networks learn their own features from data, layer by layer. They need more data and computation, but they handle variation much better, which is the subject of the next modules.
Step by step
- Write functions that rotate, zoom, darken and add clutter to test images.
- Measure accuracy under each change.
- Plot the accuracy drops as a bar chart.
- Write which changes hurt most and why.
Practice activity
Produce a robustness report for the best classical pipeline.
Expected result: A clear chart and an explanation linking failures to feature design.
Check your understanding
-
Why do hand-crafted features break under some changes?
Show answer
They only capture what the designer chose and are sensitive to variations they were not designed for.
-
What do CNNs do differently?
Show answer
They learn their features from data.
Further learning
Taught live by an instructor — online or in person. Free course lessons are for self-study and do not lead to a certificate — see registration options.