Gamut Mapping of Scene-Referred Light Values
The Academy Color Encoding System (ACES) is a free, open, device-independent color management and image interchange system used in the production of movies, series and games. ACES adoption has increased during the last decade and the system is becoming a successful standard in the Media and Entertainment Industry. However, amid of the growing success, ACES users are frequently reporting defects occurring on their imagery while using the system.
The artefacts are often generated by digital still or motion-picture cameras: their spectral sensitivities do not satisfy the Maxwell-Ives criterion (Luther condition). Put another way, they are not colorimetric and capture the world differently than the Standard Observer, i.e. a standardised average human viewer. Ultimately, they produce non-physically realisable values outside the Spectral Locus, i.e. the volume bounding the extent of the Standard Observer sensitivity to the electro-magnetic spectrum. Colour grading tools used to infuse the creative vision into the imagery are also source of defect generation.
In the context of this document, and the portion of interest of the ACES pipeline, the imagery is said to be in a scene-referred state. A scene-referred image encodes light values as they were captured at the camera focal plane in a given scene. The encoded values are intrinsically linear, and proportional, relatively, to the incident light from the scene to the camera.
The A.M.P.A.S formed a new Virtual Working Group with the objective of finding strategies to manage and correct the artefacts. The Working Group is researching a source-agnostic model that performs the mapping of scene-referred light values from any source, i.e. any light capturing device, irrespective of its sensitivities, to a target RGB colourspace primaries, e.g. ACES AP1.
As a contribution to the initiative, the Colour Developers have designed and built an interactive Jupyter Widget to explore the problem space. The widget leverages Colour, an open-source Python package providing a comprehensive number of algorithms and datasets for colour science, and Matplotlib.
As of this writing, the widget implements two gamut mapping study models via sub-classes:
- Mansencal and Scharfenberg (2020) HSV Control Based Study Model built on top of the HSV colourspace
- Smith (2020) - RGB Saturation Study Model built on top of the RGB colourspace
While being order of magnitude slower than commercial applications such as Davinci Resolve or The Foundry Nuke, the interactive widget is extremely useful as it allows to tap directly into the entire Python scientific ecosystem while promoting Open Source Software and reproducible research.
More information is available on the colour-science's Gamut Mapping Ramblings repository and ACESCentral.
Copyright © 2020 – Colour Developers – colour-developers@colour-science.org