计算机视觉:从像素到卷积

Computer Vision: From Pixels to Convolutions

An image is just a numpy array — hand-write conv kernels for edge detection, then train a classifier that reads digits

6 labs11 AI-mentored sessions~6 hoursBilingual · EN / 中
Start learning →

About this course

A build-it-yourself vision course: no OpenCV, no library calls. In every session an AI
mentor walks you through hand-building computer vision's classic weapons in pure numpy.
Starting from "an image is just an array", you'll hand-write 2D convolution and light up
edges with your own Sobel kernel; build histogram equalization, affine warps and Gaussian
pyramids; implement simplified Canny and Harris so the machine finds edges and corners
itself, then match two images with your own descriptors; upgrade hand-made filters into
conv layers, account for parameters and receptive fields, assemble a tiny CNN — and
finally derive conv backprop by hand and train a classifier that truly reads digits.
You'll see it with your own eyes: the kernels the first layer learns look just like the
edge filters you wrote in session one.

What you'll learn

  • Treat images as numpy tensors, hand-write 2D convolution and build blur/sharpen/Sobel edge filters
  • Hand-implement histogram equalization, bilinear-interpolated affine warps and Gaussian pyramids
  • Hand-write simplified Canny and Harris to detect edges & corners, and match two images with mini-HOG descriptors
  • Account for a conv layer's output size / parameter count / receptive field, and assemble a tiny CNN forward pass
  • Derive and implement conv backprop, pass numerical gradient checks, and train a digit classifier on built-in 8x8 digits
  • Build three see-it-work classic applications: template matching, k-means segmentation, feature-based alignment

Syllabus

1Images as Arrays: from Filtering to Classification2 sessions
  • 1Images as numpy Arrays: Convolution by Hand30 minStart →
  • 2Your First Classifier: kNN and Softmax30 minStart →
2The Image Processing Toolbox: Histograms, Warps & Pyramids3 sessions
  • 1Pixel Statistics: Histograms & Contrast Enhancement30 minStart →
  • 2Geometric Transforms: Affine Matrices & Bilinear Interpolation30 minStart →
  • 3The Art of Scale: Gaussian Blur, Separability & Pyramids30 minStart →
3Edges, Corners & Feature Matching3 sessions
  • 1From Gradients to Edges: a Simplified Canny by Hand30 minStart →
  • 2What Makes a Corner: the Harris Detector30 minStart →
  • 3Naming Features: mini-HOG Descriptors & Matching30 minStart →
4Convolutional Networks: the Forward Journey3 sessions
  • 1From Filters to Conv Layers: Channels, Stride & Weight Sharing30 minStart →
  • 2Pooling & Receptive Fields: Deeper Sees Farther30 minStart →
  • 3Assembling a Tiny CNN: One Image, Full Forward Pass30 minStart →
5Training Convnets: Kernels That Grow Themselves0 sessions

Sessions are on the way.

6Classic Applications: Find It, Segment It, Stitch It0 sessions

Sessions are on the way.

Same series · 人工智能全透析

AI, End to End

Synthesized from the best material across the web — rebuild the core of AI from scratch, the efficient way.