CSST 106 Computer Vision

Machine Sight

Seven computer vision laboratory activities, compiled into one instrument. Every technique runs live in your browser.

Francis MisticaLaguna State Polytechnic University1st Semester, AY 2026-2027

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 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.

Pixel access, Color spaces, Channel split, Geometric transforms, Intensity transforms

Open lab 01 →

Lab 02

Edge Detection

Finding where intensity changes sharply, from first-derivative gradient operators to the multi-stage Canny detector.

Convolution, Sobel, Prewitt, Roberts, Laplacian / LoG, Canny

Open lab 02 →

Lab 03

Histogram

Counting how often each intensity occurs, then reshaping that distribution to fix exposure and contrast.

Histogram, CDF, Contrast stretching, Equalization, CLAHE

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.

Integral image, Fast-Hessian, SURF descriptor, Ratio test, RANSAC homography

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.

Covariance, Eigen decomposition, Dimensionality reduction, Reconstruction, PSNR

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.

CNN detector, Letterboxing, Confidence threshold, IoU, Non-maximum suppression

Open lab 06 →

Lab 07

Segmentation

Partitioning an image into meaningful regions, from simple thresholds to clustering and marker-based watershed.

Thresholding, Otsu, Adaptive threshold, K-means, Watershed, Contours

Open lab 07 →
00:00:00
Calibrating sensor000%