Spectral Reconstruction with Optimized Stereo Cameras

Luca Cogo Marco Buzzelli Simone Bianco Raimondo Schettini

University of Milano-Bicocca

TL;DR

An RGB camera measures only three numbers per pixel, so different spectra can look identical to it. DualSpec adds a second RGB camera and learns the optical filters of both cameras together with the reconstruction network, so that the six measurements are complementary. Spectral error drops by up to 72% compared with a single camera, and the learned filters beat filter pairs chosen from commercial catalogs.

Real and artificial peppers from the CAVE dataset. With a single RGB camera, the reconstructed spectra of the artificial pepper A and the real pepper B are nearly identical (SAM 1.4 degrees between them). With DualSpec, the reconstructions follow their different ground-truth spectra (SAM 8.4 degrees).

Same colour, different spectrum. The artificial pepper A and the real pepper B (CAVE) look alike to an RGB camera, so a single camera reconstructs nearly the same spectrum for both: the angle between the two reconstructions is only 1.4°. With DualSpec they come out different (8.4°), following their measured spectra. Solid curves are ground truth, dashed curves are reconstructions, without fine-tuning on CAVE.

Method

Step through the training pipeline, or click a part of the figure.

Spectral camera playground

Build your spectral camera: assemble two acquisition systems and compare what their reconstruction networks recover. Every option is a trained model from the paper, tested on the same images with the same simulated sensor noise.

Try

Reconstruction error RMSE × 1000 per pixel

Drag the handle to compare. Click to pin a pixel.

A B

Spectra at the marked pixel

Loading scene…

Results on Arad-1K and BGU-ICVL

Test-set results of the paper, as a chart or as the full table. SAM in degrees and RMSE × 1000 (lower is better), PSNR in dB (higher is better). In the tables, bold marks the best value for each network and statistic.

Displaced views and new datasets

Do the learned filters and networks work beyond their training data, and with two cameras that really are in different places? We test the models trained on Arad-1K, without fine-tuning, on our displaced-view benchmark and on CAVE.

Displaced-view benchmark

Ten scenes captured twice with a Specim IQ hyperspectral camera, 2 cm apart, as the two cameras of a stereo rig would see them. The two simulated views are registered before reconstruction.

View
Download the benchmark soon

Results on displaced views and CAVE

From learned curves to real filters

A learned transmittance is only useful if it can be manufactured. We fit each attachment with a conventional interference filter: 30 layers alternating Ti3O5 and SiO2 on glass, each 10–400 nm thick. Then we check what the swap costs the reconstruction, and how much of it fine-tuning wins back.

Network
Show attachment

3 steps Go through them in order. Each one fills a row of the table with the paper's results.

    Show

    Transmittance attachment 1

    learned targetthin-film stack × neutral density

    Layer stack thickness of each layer, light enters on the left

    Thin-film results for every network

    BibTeX

    @article{cogo2026dualspec,
      title   = {DualSpec: Spectral Reconstruction with Optimized Stereo Cameras},
      author  = {Cogo, Luca and Buzzelli, Marco and Bianco, Simone and Schettini, Raimondo},
      journal = {arXiv preprint arXiv:XXXX.XXXXX},
      year    = {2026}
    }