colour.models.aces_it Module

Academy Color Encoding System - Input Transform

Defines the Academy Color Encoding System (ACES) Input 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. (2014). Technical Bulletin TB-2014-004 - Informative Notes on SMPTE ST 2065-1 – Academy Color Encoding Specification (ACES). Retrieved from https://github.com/ampas/aces-dev/tree/master/documents
[3]The Academy of Motion Picture Arts and Sciences, Science and Technology Council, & Academy Color Encoding System (ACES) Project Subcommittee. (2014). Technical Bulletin TB-2014-012 - Academy Color Encoding System Version 1.0 Component Names. Retrieved from https://github.com/ampas/aces-dev/tree/master/documents
colour.models.aces_it.spectral_to_aces_relative_exposure_values(spd, illuminant=<colour.colorimetry.spectrum.SpectralPowerDistribution object at 0x2adc373cdbd0>)[source]

Converts given spectral power distribution to ACES2065-1 colourspace relative exposure values.

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

ACES2065-1 colourspace relative exposure values array.

Return type:

ndarray, (3,)

Notes

  • Output ACES2065-1 colourspace relative exposure values array 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...])