Interactive visualization of different sets of colors (all visible colors, sRGB, Munsell) on three different color spaces: CIE XYZ, CIELAB, and sRGB. Segment Maxima Method for computing gamut boundary based on Morovic et al., 2000.
This project depends on the following libraries:
- AntTweakBar.
- OpenGL (can be satisfied by Mesa 3D).
- GLEW.
- GLFW.
- GLUT (can be satisfied by freeglut)
Follow the instructions on the AntTweakBar website to build the library, then place the AntTweakBar
folder inside of ColorGamut/external
such that ColorGamut/external/AntTweakBar/include/AntTweakBar.h
exists.
Install an implementation of OpenGL. On Ubuntu, this means installing Mesa 3D:
sudo apt install libglu1-mesa-dev
Install GLEW. On Ubuntu:
sudo apt install libglew-dev
Follow the instructions on the GLFW website to build the library, ensuring that the root directory and the build directory are the same, then place the glfw
folder inside of ColorGamut/external
such that ColorGamut/external/glfw/include/GLFW/glfw3.h
exists.
Install GLEW. On Ubuntu, this means installing freeglut:
sudo apt install freeglut3-dev
mkdir build
cd build
cmake ..
make
The executable will be exported as ColorGamut/build/gamut
. Make sure that you copy the files in the data
folder into the same directory as the executable before running the program.