CSST 106 Computer Vision
Machine Sight
Seven computer vision laboratory activities, compiled into one instrument. Every technique runs live in your browser.
Anatomy of an eye
Before any algorithm runs, light has to become numbers. A machine vision camera does it in a few centimetres: glass bends the light, an iris meters it, filters shape its spectrum and a silicon sensor counts it.
Each part sets a limit the software inherits. Focus decides what can be sharp, the aperture trades light for depth, and the Bayer filter means every color pixel is partly an estimate.
Hover a componentTap a component
Photons to pixels
Each photosite counts the light that reached it during the exposure. Behind its color filter it records only one channel: red, green or blue.
Demosaicing estimates the two missing channels from the neighbours. The result is where every lab begins: a width × height × 3 array of numbers from 0 to 255.
Lab 01
Images
How a picture is stored: a grid of numbers with a width, a height and channels you can read, convert and transform.
Open lab 01 →Lab 02
Edge Detection
Finding where intensity changes sharply, from first-derivative gradient operators to the multi-stage Canny detector.
Open lab 02 →Lab 03
Histogram
Counting how often each intensity occurs, then reshaping that distribution to fix exposure and contrast.
Open lab 03 →Lab 04
SURF Feature Detection
Detecting scale and rotation invariant keypoints with box filters on an integral image, then matching them across views.
Open lab 04 →Lab 05
PCA in Computer Vision
Finding the directions of greatest variance in image data, and keeping only the few components that matter.
Open lab 05 →Lab 06
YOLOv8 Object Detection
A single-pass neural network that predicts boxes, classes and confidences for every object in a frame.
Open lab 06 →Lab 07
Segmentation
Partitioning an image into meaningful regions, from simple thresholds to clustering and marker-based watershed.
Open lab 07 →The labs
- ImagesPixel access, Color spaces, Channel split, Geometric transforms, Intensity transforms
- Edge DetectionConvolution, Sobel, Prewitt, Roberts, Laplacian / LoG, Canny
- HistogramHistogram, CDF, Contrast stretching, Equalization, CLAHE
- SURF Feature DetectionIntegral image, Fast-Hessian, SURF descriptor, Ratio test, RANSAC homography
- PCA in Computer VisionCovariance, Eigen decomposition, Dimensionality reduction, Reconstruction, PSNR
- YOLOv8 Object DetectionCNN detector, Letterboxing, Confidence threshold, IoU, Non-maximum suppression
- SegmentationThresholding, Otsu, Adaptive threshold, K-means, Watershed, Contours