Computer Vision
Computer vision studies how to extract geometric and semantic structure from images, and computational photography studies how to create and edit them. The field’s two grand questions, where is this in 3D? and what is this?, drive the sections below: classical image processing and geometry (sections 1 to 6), statistical models of images (section 9), and modern learned representations and generators (sections 7 and 8).
Prerequisites
- 2.8b Change of Basis and 4.3a Matrix-Vector Multiplication for transformations.
- 2.2b LTI Convolution and 2.9c Fourier Transform for filtering and frequency analysis.
- 5.2.4. CNNs for the learned methods.
Contents
- Image Formation & Cameras: how scenes become pixels, and what focal length does.
- Image Processing: point operations, filtering, edges, Fourier analysis, sampling, pyramids, blending and compression.
- Image Transformations: 2D warps (linear, affine, projective), interpolation, homographies and morphing.
- Feature-Based Alignment: detecting, describing and matching keypoints across images.
- 3D Image Geometry: the pinhole model, stereo and epipolar geometry.
- Multi-View Reconstruction: Structure from Motion and Multi-View Stereo.
- Neural Fields: NeRF and related volumetric representations.
- Image Generation: texture synthesis, style transfer, image-to-image translation and flow-based editing.
- Texture Models: texture perception, filter banks, texture histograms and bag of visual words.
Deep Learning Foundations
Section 8 relies on four notes from 5. Deep Learning. They sit there so that CS 182 notes can build on them. Read each one before the section 8 note that uses it.
- Flow Matching: a network learns the velocity that moves a noise sample toward a clean image. Sampling follows that velocity with Euler steps. 8.6. Flow-Based Image Editing uses a pretrained flow model for every edit.
- Classifier-Free Guidance: the model predicts one velocity with the prompt and one without it. Guidance pushes the final velocity further in the direction from the second to the first. 8.6. Flow-Based Image Editing applies it in every application.
- Generative Adversarial Networks: a generator learns to make images that a discriminator cannot tell apart from real ones. 8.4. Pix2Pix and 8.5. CycleGAN add this adversarial loss to their translation losses.
- U-Net: an encoder-decoder network with skip connections, so the output keeps the input’s fine spatial detail. It is the generator in 8.4. Pix2Pix and the velocity network in the Project 3 flow model.
Recommended Path
For a first pass through CS 180, read 2.1. Filtering, 2.2. Fourier Transform in Images and 2.5. Image Pyramids, then 3.1. Affine Transformations and 3.2. Image Warping, then 10.3.2. Flow Matching.
Cross-Domain Connections
- 4. Visual Servoing: the robotics bridge that closes the perception-action loop using the pinhole model and the robot Jacobian.