colour.models.aces_rgb_idt Module

ACES RGB Colourspace - Input Device Transform

Defines the ACES RGB colourspace Input Device Transform utilities:

References

[1]The Academy of Motion Picture Arts and Sciences, Science and Technology Council, & Academy Color Encoding System (ACES) Project Subcommittee. (n.d.). Academy Color Encoding System. Retrieved February 24, 2014, from http://www.oscars.org/science-technology/council/projects/aces.html
[2]The Academy of Motion Picture Arts and Sciences, Science and Technology Council, & Academy Color Encoding System (ACES) Project Subcommittee. (2011). Specification S-2008-001 - Academy Color Encoding Specification ( ACES ), 1–33. Retrieved from https://www.dropbox.com/sh/nt9z9m6utzvkc5m/AACBum5OdkLPCZ3d6trfVeU8a/ACES_v1.0.1.pdf
colour.models.aces_rgb_idt.spectral_to_aces_relative_exposure_values(spd, illuminant=<colour.colorimetry.spectrum.SpectralPowerDistribution object at 0x2b3679ab5f50>)[source]

Converts given spectral power distribution to ACES RGB colourspace relative exposure values.

Parameters:
  • spd (SpectralPowerDistribution) – Spectral power distribution.
  • illuminant (SpectralPowerDistribution, optional) – Illuminant spectral power distribution.
Returns:

ACES RGB colourspace relative exposure values matrix.

Return type:

ndarray, (3,)

Notes

  • Output ACES RGB colourspace relative exposure values matrix is in domain [0, 1].

References

Examples

>>> from colour import COLOURCHECKERS_SPDS
>>> spd = COLOURCHECKERS_SPDS['ColorChecker N Ohta']['dark skin']
>>> spectral_to_aces_relative_exposure_values(spd)  
array([ 0.1187697...,  0.0870866...,  0.0589442...])