Spectrify: Framework for Hyperspectral Image Generation Using Computer Graphics
Yasin Mamedov, Daniil Vladimirov, Sofiia Dorogova, Bakhtiyar Khalfin, Egor Ershov
Abstract
Hyperspectral images (HSIs) record the full spectrum of light at every pixel, so projecting an HSI through a camera's spectral sensitivities gives that camera's RAW image, and one HSI can supply training data for hyperspectral reconstruction and camera-pipeline methods. Real HSIs, however, are slow and expensive to capture, and the largest datasets hold only about 1,000 images. High-level vision commonly replaces scarce real data with images rendered from 3D scenes. Low-level tasks, however, need physically correct spectra, which requires spectral rendering with a measured spectrum for every material in a scene, and existing spectral renderings cover only a handful of scenes, mostly with a simplified image formation model. We present Spectrify, a framework that converts 3D scene datasets into HSIs, together with a library of reflectance spectra labeled by material and compiled from close-range hyperspectral datasets and spectrophotometer measurements. In Spectrify, spectra follow the material: each object receives a physically based optical model and measured reflectance spectra or optical constants from its material category, each lamp an emission spectrum of its type and the sky a modeled daylight spectrum, and Mitsuba 3 path-traces the full light transport of each scene per wavelength. We show that a hyperspectral reconstruction network trained only on our synthetic HSIs generalizes to unseen real datasets better than networks trained on the largest real HSI datasets on most test sets, and that assigning spectra by material category instead of by color alone improves this transfer on every test set. RAW images projected from our HSIs are also useful training data for color constancy, performing on par with existing synthetic RAW generators. We release the 4,500 rendered HSIs, the code of Spectrify and its material-labeled reflectance library.
Create a lesson
Metadata
- Categories
- cs.CV, cs.GR
- Comments
- 15 pages, 7 figures, 5 tables; includes supplementary material
Related papers
Qwen-Image-HD: Autoregressive Diffusion for High Definition Image Generation
Shared title terminologycs.CVZihao Liu, Zekai Zhang, Shengming Yin et al.
HazeFlux: Few-Step Generative Priors for Real-World Image Dehazing
Shared title terminologycs.CVYunong Liu, Danna Xue, Javier Vazquez-Corral
MAGPIE: Agentic Multi-Reference Image Generation via Executable Scene Construction
Shared title terminologycs.CVYifan Dai, Daili Hua, Bohan Zeng et al.
BriConstrain: Geometrically Constrained Decoding for Autoregressive Brick Assembly Generation
Shared title terminologycs.CVNadav Magar, Amir Hertz, Ariel Shamir et al.
Linear Probes Can Guide: Training-Free Control of Representation Generators
Shared title terminologycs.CVPengwei Wang, José Morano, Botond Fazekas et al.
SHARPnP: Self-Supervised and Plug-and-Play Hyperspectral Super-Resolution from Real Noisy Unaligned Camera Measurements
Shared title terminologycs.CVMohamad Jouni, Brayan Monroy, Jorge Bacca et al.