Spectral imaging through time – Elad Orbach
Elad Orbach developed a rolling shutter imaging method that reconstructs 29 spectral images from a single monochrome frame in 29.76 ms on a Jetson AGX Xavier.
By Dillip Chowdary • Nov 29, 2026 • Source: eladorbach.com

At a glance
- Product
- Rolling shutter multispectral imaging system
- Developer
- Elad Orbach
- Wavelength channels
- 29 reconstructed channels (33 available)
- Frame rate
- 12.21 frames per second
- Processing latency
- 29.76 ms median reconstruction time
- Image resolution
- 2592 × 1944 pixels
In this post
Computational imaging researcher Elad Orbach demonstrated a method to reconstruct 29 distinct spectral images from a single frame captured on a standard monochrome sensor. Rather than capturing separate exposures for each individual wavelength over time, the system coordinates rapid pulses of illumination with the sensor rolling shutter. As detailed in eladorbach.com's report, alternating illumination across microsecond row exposures captures sufficient spectral data within one image to generate full-spectrum reconstructions spanning ultraviolet to near-infrared light.
This report examines the underlying synchronization hardware, mathematical reconstruction algorithms, benchmarked accuracy metrics, and embedded computing pipeline enabling single-frame multispectral capture. The breakdown provides optical engineers, computer vision specialists, and imaging systems researchers with the specific hardware topologies, timing parameters, and spectral modeling techniques required to replicate real-time spectral acquisition without dedicated filter wheels or spatial multispectral sensors.
01Synchronized LED array and rolling shutter camera
The illumination apparatus uses a custom spatial array containing 132 individual light-emitting diodes covering 33 separate optical wavelengths. Four matched diodes for every designated wavelength are distributed around the central imaging area to guarantee balanced scene illumination. System control relies on three PCA9685 pulse-width modulation controller boards, with 16 output channels allocated across each of the first two boards and a single channel active on the third board.
To coordinate light emission with sensor exposure, an Arduino Yún microcontroller connects directly to a Basler acA2500-14gm monochrome digital camera. The experiment drives 29 of the 33 available LED controller channels to illuminate targets across designated bands. Both the microcontroller and the trio of PCA9685 driver modules operate from a single shared hardware clock line to eliminate phase drift during high-speed pulsed cycling.
Calibration establishes timing offsets by firing an initial wavelength pulse from each controller board during system boot. Software measures the spatial row positions where the resulting illumination strips register on the sensor surface. These baseline offsets allow the acquisition software to map active wavelengths to sensor row coordinates and verify pattern alignment across every incoming frame.
02Microsecond light flashes across sensor rows
A conventional rolling shutter mechanism activates sensor row exposures in a sequential cascade rather than exposing the entire sensor plane simultaneously. In the Basler camera configuration, a new pixel row begins collecting light approximately every 35 microseconds. Each individual row maintains an active exposure window lasting 140 microseconds, which causes multiple overlapping rows to gather ambient illumination concurrently.
The acquisition protocol synchronizes optical pulses directly to this continuous sensor cascade:
- Frame start signal The Basler camera transmits a hardware timing signal to the Arduino Yún at the beginning of each frame.
- Controller synchronization The Arduino synchronizes the LED firing sequence across the three PCA9685 boards using their shared master clock.
- Sequential row exposure Sensor rows initiate light collection sequentially across the monochrome pixel array every 35 microseconds.
- Wavelength shifting The LED array emits 50 microsecond light pulses that alternate across selected spectral wavelengths.
- Strip pattern capture The rolling shutter sensor records an interleaved pattern of horizontal light strips across the vertical image plane.
Because each optical flash persists for exactly 50 microseconds, each wavelength burst registers across a distinct band of consecutive rows. Repeating this timed firing loop distributes narrow spectral samples across the entire frame height, creating an interleaved raw image consisting of horizontal illumination bands.
03Five-parameter curves and spectral reconstruction
Advertisement
Tech Pulse Daily
Get tomorrow's pulse first
Join engineers who read Tech Pulse before stand-up. Free, weekday mornings.
The resulting raw monochrome image contains interleaved horizontal strips where each row registers photon contributions from the diodes activated during its 140 microsecond exposure. Although the flash timing defines which wavelengths contributed to each row, no individual pixel records all 29 wavelengths directly. The recovery software treats surface reflectance as a continuous spectral response curve rather than attempting to compute 29 independent reflectance variables at every pixel location.
The reconstruction algorithm models the surface reflectance profile by fitting a smooth curve governed by five adjustable parameters per pixel. Spectral measurements recorded in adjacent rows constrain and refine the curve shape across local spatial neighborhoods. The mathematical solver incorporates measured diode emission bandwidths and the factory sensitivity curve of the camera sensor to decouple illumination spectra from raw pixel intensities.
Measurements subject to higher noise receive reduced weighting during fitting, followed by gentle spatial regularization to stabilize the final estimates. Once the model computes the underlying parametric curve, software samples the response at all 29 discrete wavelength bands and generates approximate true-color representations calibrated against standard daylight illumination.
Note: Reconstructed values represent relative spectral responses rather than absolute reflectance, and fine spatial details or abrupt spectral transitions remain difficult to recover.
04Correlation gains and spectral angle benchmarks
Validation testing evaluated single-frame reconstructions against static reference photographs captured by illuminating the identical static scene with one wavelength at a time. The experimental evaluation tracked relative spectral responses across four distinct vertical regions spanning the height of the frame, normalizing each wavelength channel independently.
A baseline reconstruction approach was evaluated against an optimized GPU-accelerated implementation:
| Metric | Initial method | Final method (GPU) |
|---|---|---|
| Median correlation (PCC) | 0.627 | 0.691 |
| Median normalized error (RMSE) | 0.268 | 0.230 |
| Mean spectral angle | 25.05° | 19.49° |
The GPU-accelerated implementation achieved marked accuracy gains across all three performance criteria, reducing the average spectral angle error by more than 5.5 degrees. The resulting spectral reconstructions span 29 distinct wavelengths from the edge of the ultraviolet spectrum at 379.85 nanometers to near-infrared light at 878.31 nanometers, including intermediary samples at 398.76 nm, 514.60 nm, and 657.58 nm.
05Real-time processing on Jetson AGX Xavier
To transition the reconstruction pipeline from offline image processing into an interactive video feed, the software was ported to an Nvidia Jetson AGX Xavier embedded computing platform. The edge computing system processed 120 consecutive video frames delivered from the Basler camera at a sustained capture rate of 12.21 frames per second.
The embedded solver detected every expected illumination strip without dropping synchronization pulses during the continuous 120-frame sequence. The Jetson AGX Xavier recorded a median processing latency of 29.76 milliseconds per frame. At this latency, the hardware outputs 29 full-resolution spectral image planes for each camera frame on a 2592 × 1944 pixel grid.
The rolling shutter acquisition approach successfully replaces mechanical filter wheels and separate sequential exposures with single-frame multispectral extraction in real time. Elad Orbach notes that ongoing development will explore how much additional spatial detail can be recovered in future revisions of the computational imaging system.
Frequently asked questions
How does single-frame multispectral imaging work with a rolling shutter?
The camera sensor exposes rows sequentially at 35 microsecond intervals while an LED array flashes different wavelengths in 50 microsecond pulses. This interleaves distinct spectral samples across horizontal rows within a single monochrome frame, allowing software to fit a continuous five-parameter spectral curve at each pixel.
What hardware was used to capture and process the spectral data?
The system uses a Basler acA2500-14gm monochrome camera, an array of 132 LEDs across 33 wavelengths controlled by three PCA9685 boards, an Arduino Yún for timing synchronization, and an Nvidia Jetson AGX Xavier for live GPU processing.
What spectral range does the reconstructed camera system cover?
The system reconstructs 29 distinct spectral bands spanning from the edge of the ultraviolet spectrum at 379.85 nanometers up to near-infrared light at 878.31 nanometers.
What are the primary limitations of this computational imaging approach?
The reconstruction estimates relative spectral response rather than absolute surface reflectance, and fine spatial details or abrupt transitions in spectral response across adjacent pixels remain challenging to recover accurately.
Sources
Author
Dillip Chowdary
Writes Tech Bytes coverage of AI, engineering, and the tools that actually ship. Editor of Tech Pulse Daily.
Related on Tech Bytes
Advertisement