Spectral Recovery and Up-sampling#
Reflectance Recovery#
CIE XYZ Colourspace to Spectral#
colour
|
Recover the spectral distribution of the specified CIE XYZ tristimulus values using the specified method. |
Supported spectral distribution recovery methods. |
|
|
Recover spectral values from the specified CIE XYZ tristimulus values using the specified method. |
Supported multi-spectral distributions recovery methods. |
Jakob and Hanika (2019)#
colour.recovery
Define a class for working with pre-computed lookup tables for the Jakob and Hanika (2019) spectral upsampling method. |
|
|
Recover the spectral distribution from the specified CIE XYZ tristimulus values using Jakob and Hanika (2019) method. |
Ancillary Objects
colour.recovery
|
Find the coefficients for the Jakob and Hanika (2019) reflectance spectral model. |
|
Generate a spectral distribution using the spectral model specified by Jakob and Hanika (2019). |
Mallett and Yuksel (2019)#
colour.recovery
|
Recover the spectral distribution of the specified RGB colourspace array using Mallett and Yuksel (2019) method. |
Ancillary Objects
colour.recovery
the base object for multi-spectral computations. |
|
Perform spectral primary decomposition as described in Mallett and Yuksel (2019) for the specified RGB colourspace. |
|
Shape for Mallett and Yuksel (2019) sRGB colourspace basis functions: (380, 780, 5). |
Meng, Simon and Hanika (2015)#
colour.recovery
|
Recover the spectral distribution from the specified CIE XYZ tristimulus values using the Meng et al. (2015) method. |
Otsu, Yamamoto and Hachisuka (2018)#
colour.recovery
|
Recover the spectral distribution of the specified CIE XYZ tristimulus values using Otsu et al. (2018) method. |
Ancillary Objects
colour.recovery
|
Store all information required for the Otsu et al. (2018) spectral upsampling method. |
|
Sub-class of |
Smits (1999)#
colour.recovery
|
Recover spectral values from RGB colourspace array using the Smits (1999) decomposition algorithm. |
|
Generate a spectral distribution from RGB values using the Smits (1999) decomposition algorithm. |
Smits (1999) multi-spectral distributions. |
|
Smits (1999) spectral distributions. |
Gaussian Basis#
colour.recovery
|
Recover spectral values from RGB colourspace array using Gaussian basis spectra and the Smits (1999) decomposition algorithm. |
|
Recover the spectral distribution of the specified RGB colourspace array using Gaussian basis spectra and the Smits (1999) decomposition algorithm. |
Gaussian basis multi-spectral distributions for spectral upsampling. |
Ancillary Objects
colour.recovery
dict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object's (key, value) pairs dict(iterable) -> new dictionary initialized as if via: d = {} for k, v in iterable: d[k] = v dict(**kwargs) -> new dictionary initialized with the name=value pairs in the keyword argument list. For example: dict(one=1, two=2). |
|
dict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object's (key, value) pairs dict(iterable) -> new dictionary initialized as if via: d = {} for k, v in iterable: d[k] = v dict(**kwargs) -> new dictionary initialized with the name=value pairs in the keyword argument list. For example: dict(one=1, two=2). |
|
|
Generate a set of Gaussian basis multi-spectral distributions. |
|
Optimise Gaussian basis parameters for colorimetric accuracy. |
Camera RGB Sensitivities Recovery#
Jiang, Liu, Gu and Süsstrunk (2013)#
colour.recovery
Recover the camera RGB sensitivities for the specified camera RGB values using Jiang et al. (2013) method. |
|
|
Recover a single camera RGB sensitivity for the specified camera RGB values using Jiang et al. (2013) method. |
Ancillary Objects
colour.recovery
|
Perform Principal Component Analysis (PCA) on specified camera RGB sensitivities. |