Python module for working with color spaces and stuff
- Convert from
sRGB
tolibRGB
from vsl_ial.cs import convert, sRGB, linRGB
convert(sRGB(), linRGB(), color=[0.12412, 0.07493, 0.3093])
Function name | Color space description |
---|---|
XYZ() |
CIE XYZ |
CIExyY() |
CIE xyY |
CIELUV() |
CIELUV |
CIELAB() |
CIELAB |
ProLab() |
proLab |
Oklab() |
Oklab |
ICaCb() |
ICaCb |
ICtCp() |
ICtCp |
JzAzBz() |
Jzazbz |
CAM02LCD() |
CAM02-LCD |
CAM02SCD() |
CAM02-SCD |
CAM02UCS() |
CAM02-UCS |
CAM16LCD() |
CAM16-LCD |
CAM16SCD() |
CAM16-SCD |
CAM16UCS() |
CAM16-UCS |
sRGB() |
sRGB |
linRGB() |
linear sRGB |
LMS() |
LMS |
Opponent() |
Opponent color space by Zhang and Wandell |
- CV
- PF/3
- STRESS
- Mean STRESS
- Group STRESS
- Weighted group STRESS
- How to make whl file:
python -m pip install --upgrade build
python -m build
- How to run unit tests:
python -m unittest
- How to run coverage:
python -m coverage run -m unittest
python -m coverage html