2024 · UCT CSC3022 · C++
Pixels into regions
Threshold a synthetic raster and reveal its four-connected components.
2024 · UCT CSC3022 · C++. Read the original case study
2026 PORTFOLIO RECREATION
LIVE DEMO
How it works
Foreground is intensity ≥ threshold. Breadth-first search uses four orthogonal neighbours, then keeps components at or above the minimum size.
What changed for the portfolio
New non-destructive TypeScript recreation, independent visited set and original synthetic raster. Threshold starts at 1: the original zero-as-visited scheme is not safe at threshold 0.
Evidence & limitations
The original project’s contribution, source attribution, results and limitations remain in its case study. New synthetic inputs and browser state are not historical measurements.
Original evidence and technical details