colour_datasets.loaders.DatasetLoader_Luo1999#

class colour_datasets.loaders.DatasetLoader_Luo1999[source]#

Bases: AbstractDatasetLoader

Define the Luo and Rhodes (1999) Corresponding-Colour Datasets dataset loader.

Attributes

Methods

References

[Bre87], [LR99], [MMT76]

ID: str = '3270903'#

Dataset record id, i.e., the Zenodo record number.

load() Dict[str, CorrespondingColourDataset_Luo1999][source]#

Sync, parse, convert and return the Luo and Rhodes (1999) Corresponding-Colour Datasets dataset content.

Returns:

Luo and Rhodes (1999) Corresponding-Colour Datasets dataset content.

Return type:

dict

Notes

  • Brene.p6.dat has only 11 samples while Breneman (1987) has 12 results.

  • The illuminance in \(Lux\) for Breneman (1987) datasets given by Luo and Rhodes (1999) is in domain [50, 3870] while Breneman (1987) reports luminance in \(cd/m^2\) in domain [15, 11100], i.e., [47, 34871.69] in \(Lux\). The metadata has been corrected accordingly.

  • The illuminance values, i.e., 14 and 40, for McCann, McKee and Taylor (1976) datasets given by Luo and Rhodes (1999) were not found in [MMT76]. The values in use are the average of both.

Examples

>>> from colour_datasets.utilities import suppress_stdout
>>> dataset = DatasetLoader_Luo1999()
>>> with suppress_stdout():
...     dataset.load()
>>> len(dataset.content.keys())
37