Interactive sandbox for comparing different sampling strategies across measured luminaires and reflectance datasets.
It evaluates how well different sampling approaches reconstruct color from spectral data. It combines:
- measured illuminant spectra (A, D65, F11)
- measured reflectance spectra (XRite patches)
- CIE color matching functions (X, Y, Z)
The app computes XYZ values and converts them to sRGB for comparison.
- Fixed wavelength buckets (Riemann-Sum sampling)
- Random Monte Carlo sampling
- Hero wavelength sampling
cmake -S . -B build
cmake --build build -j
./bin/SpectralUplifting- Dependencies are fetched automatically via CMake
FetchContent.
