Map of Contents. Classical image analysis built from first principles: pixels and filtering, gradients and corners, matching patches, changing resolution, and fitting models robustly. Learned visual models (CNNs and beyond) live in Machine Learning MOC, and image generation lives in Generative AI MOC.
Fundamentals
- Image Representation and Indexing - Arrays, channels, data types, (x, y) vs. (row, column), slicing, and views vs. copies.
- Data Types in Image Processing - uint8 wrap-around, promotions, float-to-int conversion, precision limits, and a type-tracking checklist.
- Pixel-Level Operations - Grayscale, thresholding, colour masks, blending, and the uint8 overflow trap.
- Image Noise - Gaussian, salt-and-pepper, Poisson, and speckle noise, and which filter fits each.
Filtering and Gradients
- Cross-Correlation and Convolution - Flipped vs. unflipped kernels, border modes, and the FFT.
- Linear Shift-Invariant Filters - Linearity and shift invariance, why LSI means convolution, which filters qualify, and the consequences (separability, cascades).
- Image Borders and Padding - Zero, replicate, and reflect padding, and the false edges zero padding creates.
- Gaussian Filtering and Convolution - Gaussian kernels, box filters, normalization, and zero-mean kernels.
- Image Sharpening - Unsharp masking: adding back the detail, the one-kernel form, and why it amplifies noise.
- Median Filter - A non-linear filter for salt-and-pepper noise, its limits, and how independent masks make the real corruption exceed the label.
- Image Gradients and the Sobel Operator - Gradient magnitude and direction, which kernel finds which edge, why differences amplify noise, and smoothing first.
- Canny Edge Detector - Smoothing, gradient, non-maximum suppression across the edge, and hysteresis thresholding.
Feature Detection
- Harris Corner Detector - Structure tensor, the response function, thresholds, and border artifacts.
- Non-Maximum Suppression - Keeping one detection per object, on score maps, corner maps, and bounding boxes.
Local Features
- Scale Space and Difference of Gaussians - Scale space, blob detection, DoG as an approximate normalized Laplacian, and octaves.
- SIFT - Scale- and rotation-invariant keypoints: DoG extrema, localization, orientation, and the 128-D descriptor.
- AKAZE and Binary Descriptors - Nonlinear scale space, binary descriptors, Hamming distance, and why the ratio-test thresholds differ.
- Feature Matching - Nearest-neighbour descriptor matching, the ratio test, and RANSAC verification.
Matching
- Template Matching - SAD, SSD, NCC and ZNCC, the intensity model, when to use which, a salt-and-pepper noise experiment, complexity, and limits.
- Multi-Scale Template Matching - Finding the same object at several sizes by shrinking the image, and detecting multiple instances.
- Integral Images - Constant-time rectangle sums for fast window statistics.
Geometric Transformations
- Homogeneous Coordinates - Why a point gets an extra coordinate: translation as a matrix, deferred perspective division, points at infinity, and lines as cross products.
- Image Warping - Homogeneous coordinates, translation, rotation, scaling, shear, affine maps, and forward vs. inverse warping.
- Homographies and Perspective Warping - Perspective transforms, the DLT estimate from 4 point pairs, rectification, and when a homography is exact.
- Image Stitching - Matching, RANSAC homography, canvas sizing, warping and compositing, and why stitching fails.
- Cylindrical Warping - Projecting onto a cylinder for panoramas, the mapping formulas, and choosing the focal length.
Camera Geometry
- Pinhole Camera and Perspective Projection - Why a pinhole, the projection formula, vanishing points and lines, the horizon, and fronto-parallel planes.
- Camera Projection Matrix - Intrinsics, extrinsics, , a worked pixel example, the camera center as a null space, and calibration.
Motion
- Optical Flow and Lucas-Kanade - Brightness constancy, the aperture problem, the windowed least-squares solution, and when it fails.
Resolution and Scale
- Aliasing and Downsampling - Why a low-pass filter must come before subsampling.
- Image Interpolation - Linear, bilinear, and bicubic interpolation, inverse mapping for resizing, and demosaicing a Bayer sensor.
- Image Pyramids - Gaussian and Laplacian pyramids, REDUCE and EXPAND, and uses from search to blending.
Model Fitting
- Least-Squares Line Fitting - OLS vs. total least squares, the normal equations, the eigenvector/SVD solution, and sensitivity to outliers.
- RANSAC - Robust fitting by random sampling: threshold, number of trials, and multiple models.
Code and Projects
- Image Basics Snippets - Indexing, thresholding, colour masks, blending, and box filtering.
- Corner Detection Snippets - Sobel, Harris, 3 x 3 NMS, and corner overlays.
- Image Stitching Snippets - AKAZE, ratio-test matching, homography RANSAC, canvas size, and vectorized warp-and-combine.
- Image Warping Snippets - Transform matrices, inverse warping, affine and homography estimation, and a cylindrical warp.
- SIFT and Matching Snippets - OpenCV SIFT, ratio-test matching, RANSAC verification, and from-scratch DoG and matching code.
- Template Matching Snippets - SAD and NCC matchers, Gaussian filtering, the multi-scale search, NMS, integral images, and noise generation.
- RANSAC Snippets - Synthetic lines, SVD line fit, and a RANSAC loop.
- CS558 - Computer Vision Coursework - Coursework results using these techniques.
Related Domains
- Machine Learning MOC - Neural networks and learning methods.
- Generative AI MOC - Image generation, VAEs, and GANs.
- Code Snippets MOC - Reusable code across domains.
To Research / Inbox
(Drop new concepts or terms you want to research here as unlinked wiki-links)
Next topics: Hough transform, image blending, Fourier transform basics, stereo and epipolar geometry.