Recovers the spectral power distribution of given RGB colourspace matrix using Smits (1999) method.
Parameters: | RGB (array_like, (3,)) – RGB colourspace matrix. |
---|---|
Returns: | Recovered spectral power distribution. |
Return type: | SpectralPowerDistribution |
Examples
>>> RGB = np.array([0.02144962, 0.13154603, 0.09287601])
>>> RGB_to_spectral_Smits1999(RGB)
<...SpectralPowerDistribution object at 0x...>