Image Processing Lab

Sampling, filtering, Fourier transforms, segmentation, SIFT and HOG, applied to a live image you can change.

About the Image Processing Lab

Every photo filter, scanner and face detector is built from a small set of image-processing operations. The Image Processing Lab applies each one to a live image, so you can see what a blur kernel, a gamma curve or a Fourier filter actually does to the pixels.

The lab starts where a digital image starts, with sampling and quantisation, and moves through contrast and histograms, colour spaces and convolution filters to the frequency domain, noise removal and segmentation. It ends with SIFT keypoints and HOG descriptors, the hand-built features that computer vision relied on before deep learning.

It suits students taking a digital image processing or computer vision course, and anyone curious about what happens inside an editing app. All the processing runs in your browser.

Experiments in this lab

  1. Digitization: Sampling and quantization: how a scene becomes pixels.
  2. Point processing: Negatives, thresholds, gamma and contrast, with the histogram.
  3. Colour spaces: RGB, HSV and greyscale channels side by side.
  4. Spatial filtering: Blur, sharpen and edge kernels slid over the image.
  5. Frequency domain: The Fourier spectrum, and filtering it.
  6. Restoration: Add noise, then remove it with the right filter.
  7. Segmentation: Split the image into regions by threshold and clustering.
  8. SIFT and HOG: Keypoints and gradient histograms used to describe images.