When Machines Learn to See
Chapter Field Guide
Measurable Learning Outcomes
- Compute a 3×3 convolution step to highlight vertical or horizontal intensity edges.
- Compare template matching / feature scores on tiny pixel grids.
- Explain the trade-off between False Acceptance Rate (FAR) and False Rejection Rate (FRR) as a threshold moves.
Core Scientific Intuition
To a computer, an image is a grid of brightness numbers. Sliding a small 3×3 matrix (kernel) over the grid computes weighted sums of neighboring pixels: opposite signs on left and right highlight sharp boundaries (edges). In biometric or visual matching, a decision threshold turns a similarity score into Accept or Reject; raising the threshold lowers false accepts but increases false rejects.
Units & assumptions: 2D discrete convolution/cross-correlation on grayscale intensity grids (0–255).
Worked Example
With a vertical edge kernel [-1, 0, +1], a flat gray region (100, 100, 100) outputs -100 + 0 + 100 = 0, while a dark-to-bright boundary (20, 20, 200) outputs -20 + 200 = +180, lighting up the edge.
Hands-On Exploration
Interactive Laboratory
Test the concepts directly with 4 interactive panels, live controls, and visual feedback.
Open Interactive Lab →Three Guided Projects
Structured experiments with hypotheses, boundary tests, hints, and reflection prompts.
View 3 Projects →Source Code (4 Snippets)
Inspect byte-identical printed JavaScript blocks, download `.js` files, or test runnable blocks in the isolated sandbox.
Browse Code →Self-Check Quiz (5 Questions)
Immediate explanations for every choice, unlimited retries, and local-only score tracking.
Take Self-Check Quiz →Book Chapter Outline (Reference Guide)
Section headings from Volume 1 for cross-referencing with the printed book.
Show all 31 book section headings
- The machine that could not read a seven
- PEOPLE BEHIND THE SCIENCE
- David Marr (1945-1980)
- Fei-Fei Li (born 1976)
- PEOPLE BEHIND THE SCIENCE
- Ray Kurzweil (born 1948)
- Paul Viola (born 1962)
- PEOPLE BEHIND THE SCIENCE
- Michael Jones
- From light to a grid of numbers
- How a camera becomes a vision system
- Preparing the image
- Features and decisions
- The mathematics of an edge
- Project 1: Build an edge detector
- When pictures become words
- Project 2: Make a tiny digit reader
- Can a machine recognize an object?
- Faces, fingerprints and the meaning of a match
- Verification and identification
- Why a match is not proof
- Project 3: Measure recognition mistakes
- Detective mission: The confused scanner
- Your case file
- The invention bench
- Challenge A: A tiny reading robot
- Challenge B: Count objects without identities
- Challenge C: Design a fair test
- Your laboratory and scientific vocabulary
- Keep exploring
- What you can now do
Primary Sources & Further Reading
External links are provided for independent verification and deeper study. Link availability can change over time; see the Resources page for verification notes.