Function wt::colourspace::RGB_to_spectral::uplift

Function Documentation

inline f_t wt::colourspace::RGB_to_spectral::uplift(const vec3_t &rgb, const Wavelength auto lambda) noexcept

Uplifts an RGB triplet to spectral. Designed for the optical spectrum. by Andrea Weidlich.

Parameters:
  • rgb – RGB triplet

  • lambda – wavelength

Returns:

f_t intensity