What is it?
An image is a function . Blurring is convolution, edges are large gradients , corners come from second derivatives, motion between frames from the optical-flow equation. Classical vision is applied calculus; modern vision learns the filters (CNNs).
Formulas
- Sobel edge detector
- optical flow constraint (brightness constancy + chain rule)
The mathematics behind it
Resizing and rotating images samples between pixels with bilinear or bicubic interpolation.
Edge detection estimates and of the intensity.
Blur, sharpen and edge filters are convolutions with small kernels.
Edges in an image are (approximate) jump discontinuities of intensity; edge detectors look for them.
Edges are where intensity changes fast: detectors (Sobel, Canny) estimate derivatives of the image.
Sobel and Prewitt filters are smoothed finite differences of pixel intensities.
A grayscale image is a function sampled on a grid; a colour image is .
Edges are large ; HOG features are histograms of gradient directions.
Laplacian-of-Gaussian edge detection, sharpening and Poisson image blending.
Frequency-domain filtering, deblurring and image registration (phase correlation).
Brightness and contrast adjustments are .
Hessian-based detectors (determinant of Hessian in SURF, Frangi vesselness) find blobs and ridges.
Anisotropic (Perona–Malik) diffusion denoises images while preserving edges by solving a nonlinear heat equation.
Wavelet shrinkage is a classic denoising method.
Where is it used?
Computing topics reachable from here, through the chain of ideas that leads to them:
What depends on it
Exercises
Why do edge detectors blur the image (e.g. with a Gaussian) before differentiating?
Solution
Differentiation amplifies high-frequency noise (in Fourier terms it multiplies by ). Smoothing first suppresses those frequencies; since derivative and convolution commute, , so one convolution with the derivative of a Gaussian does both.
This page has the essentials. A fuller treatment (intuition, formal definition, worked example) is on the way.