Skip to content

colour-science/gamut-mapping-ramblings

Repository files navigation

Gamut Mapping Ramblings

https://raw.githubusercontent.com/colour-science/gamut-mapping-ramblings/master/resources/images/Gamut_Medicina_01.png

Introduction

Ramblings in the world of Scene-Referred Gamut Mapping as part of the ACES VWG.

The following study models are implemented in the gamut_mapping_medicina_01 notebook.

The notebook is intended to be read with the JupyterLab Dark Theme:

https://raw.githubusercontent.com/colour-science/gamut-mapping-ramblings/master/resources/images/JupyterLab_Dark_Theme.png

Various compression functions are implemented in the gamut_mapping_compression_functions_01 notebook.

Images courtesy of:

Installation

Docker

$ docker build -t colourscience/gamut-mapping-ramblings:latest "."

Note

Allocated memory will need to be increased in Docker preferences: Preferences --> Resources --> Advanced, 8Go should be enough.

Pip

Node.js is required for the Jupyter Lab Matplotlib extension.

Pip can be used to install the main dependencies, assuming you have created and activated a Virtual Environment:

$ pip install --user -r requirements.txt $ python -c "import imageio;imageio.plugins.freeimage.download()" $ jupyter labextension install @jupyter-widgets/jupyterlab-manager jupyter-matplotlib

Poetry

Node.js is required for the Jupyter Lab Matplotlib extension.

Poetry can also be used to install the main dependencies:

$ poetry install $ poetry run python -c "import imageio;imageio.plugins.freeimage.download()" $ poetry run jupyter labextension install @jupyter-widgets/jupyterlab-manager jupyter-matplotlib

Usage

Docker

$ docker run -v $PWD:/home/colour-science/gamut-mapping-ramblings -p 8888:8888 colourscience/gamut-mapping-ramblings:latest

Pip

$ jupyter lab

Poetry

$ poetry run jupyter lab

Code of Conduct

The Code of Conduct, adapted from the Contributor Covenant 1.4, is available on the Code of Conduct page.

About

Gamut Mapping Ramblings by Colour Developers
Copyright © 2019-2020 – Colour Developers – colour-developers@colour-science.org
This software is released under terms of New BSD License: https://opensource.org/licenses/BSD-3-Clause