← Back to BLACKWIRE EMBER BUREAU SPECTRAL IMAGING Diagram of rolling‑shutter multispectral capture showing horizontal light strips for each wavelength

A single monochrome frame split into 29 spectral bands by timed LED flashes, reconstructed into a full‑color image.

ROLLING SHUTTER CAMERA RECONSTRUCTS 29 SPECTRAL IMAGES IN REAL TIME

*Elad Orbach uses precise LED timing to pull 29 spectral bands from a single frame. The method runs on a Jetson AGX Xavier and beats the previous approach on correlation and error.*

By EMBER Bureau - BLACKWIRE  |  November 29, 2026, 19:01 CET  |  multispectral imaging, rolling shutter, real-time reconstruction, LED array, Jetson

Elad Orbach has turned a standard rolling‑shutter camera into a real‑time multispectral sensor. By timing flashes from an array of LEDs, he extracts 29 distinct spectral bands from a single monochrome frame. The proof‑of‑concept runs on a Basler acA2500‑14gm camera synchronized with an Arduino Yún and three PCA9685 LED controllers. The result is a color‑accurate reconstruction that spans from the ultraviolet edge to the near‑infrared. The approach challenges the conventional trade‑off between spectral depth and frame rate. The experiment uses 132 LEDs covering 33 wavelengths, four per band, arranged around the scene. Rows on the sensor begin exposure about every 35 µs and collect light for 140 µs, allowing overlapping exposure of several rows. Each flash lasts 50 µs, imprinting a thin horizontal strip that encodes its wavelength. Orbach’s software maps these strips to reconstruct a smooth spectral curve for every pixel.

System Architecture

The illumination rig consists of 132 LEDs split into 33 wavelength channels. Four LEDs of each channel sit at the corners of the imaging area to provide even lighting. Three PCA9685 boards drive the LEDs: the first two boards expose 16 channels each, the third board handles the remaining channel. An Arduino Yún receives a start‑of‑frame signal from the Basler acA2500‑14gm camera and coordinates the LED sequence. All controllers share a common clock, ensuring sub‑microsecond alignment. The camera’s rolling shutter reads rows sequentially, so each row records the light from the LEDs that fire during its 140 µs exposure window. The raw frame appears as a series of horizontal light strips, each tied to a specific wavelength.

How does the rolling shutter capture multiple wavelengths?

A rolling shutter opens each sensor row one after another, roughly every 35 µs. By switching the LED wavelength at precise moments, Orbach forces each row to see a different spectral band. The timing is calibrated by flashing a known wavelength at startup and measuring the strip’s position on the sensor. The software then uses those positions to label every strip in each frame. No single pixel ever sees all 29 bands; instead, adjacent rows provide overlapping samples. A five‑parameter smooth curve fits the combined data, leveraging nearby rows to infer the full spectral response. This method compresses the full multispectral dataset into a single exposure without sacrificing temporal resolution.

The rolling shutter made it possible to move from capturing each wavelength separately to reconstructing 29 spectral images from a single frame in real time.

Reconstruction accuracy and performance

Orbach validated the method by photographing the same scene one wavelength at a time and comparing the results. The final GPU‑accelerated algorithm raised median Pearson correlation from 0.627 to 0.691 and cut median normalized RMSE from 0.268 to 0.230. Mean spectral angle dropped from 25.05° to 19.49°, indicating tighter spectral fidelity. Processing runs on a Jetson AGX Xavier, reconstructing 120 consecutive frames at 12.21 fps. Median reconstruction time per frame is 29.76 ms on a 2592 × 1944 pixel grid. Every expected light strip is detected, confirming reliable timing. The system therefore delivers real‑time multispectral imaging with quantifiable improvements over the initial method.

Future prospects and limitations

The current setup proves feasibility but leaves room for sharper spatial detail. Fine edges and abrupt spectral changes remain hard to recover because each pixel lacks a full set of measurements. Orbach plans to refine the curve‑fitting model, improve LED spectral purity, and enhance sensor sensitivity weighting. Faster hardware could push frame rates higher while maintaining the 29‑band output. If these upgrades succeed, rolling‑shutter multispectral cameras could infiltrate fields from precision agriculture to battlefield reconnaissance, where real‑time spectral data are a strategic asset. The proof‑of‑concept signals a shift from bulky hyperspectral rigs to compact, low‑cost platforms.

Frequently asked questions

How many spectral bands can the rolling‑shutter system capture in one frame?

It captures 29 spectral images from a single monochrome frame.

What hardware synchronizes the LEDs with the camera?

An Arduino Yún receives the camera’s start‑of‑frame signal and coordinates three PCA9685 LED controllers.

What performance improvement did the final GPU method achieve?

It raised median Pearson correlation to 0.691, reduced median normalized RMSE to 0.230, and lowered mean spectral angle to 19.49°.

Orbach’s work shows that commodity hardware, when paired with precise timing, can breach the long‑standing barrier between spectral richness and frame rate. The prototype already outperforms its predecessor on every quantitative metric while running on a single Jetson board. Until the spatial resolution gap narrows, the technique will sit alongside traditional hyperspectral systems. Yet the speed and simplicity of a single‑frame capture could redraw the cost curve for multispectral sensing. In a world where every photon carries tactical information, the ability to harvest a full spectrum in real time may become a decisive advantage.

Sources: Hacker News – Spectral imaging through time – Elad Orbach (https://eladorbach.com/writing/rolling-shutter-multispectral/)