ucs
Implements the CAM02-UCS (Luo et al. (2006), “Uniform Colour Spaces Based on CIECAM02 Colour Appearance Model”) forward transform symbolically, using Theano.
See also: CIECAM02 and Its Recent Developments.
The forward transform is symbolically differentiable in Theano and it may be approximately inverted, subject to gamut boundaries, by constrained function minimization (e.g. projected gradient descent or L-BFGS-B).
Package contents
constants.py contains constants needed by CAM02-UCS and others which are merely useful.
functions.py contains compiled Theano functions, as well as NumPy equivalents of other symbolic functions. It also contains ucs_to_srgb() and ucs_to_srgb_b(), which approximately invert the CAM02-UCS forward transform with L-BFGS-B.
symbolic.py implements the forward transform symbolically in Theano. The functions therein can be used to construct custom auto-differentiable loss functions to be subject to optimization.
Metadata
Release files for ucs 0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ucs-0.3.tar.gz | 5.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ucs-0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.0 kB
Release files / ucs-0.3.tar.gz
| Download URL | ucs-0.3.tar.gz |
|---|---|
| Size | 5.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4d887c563edb33d48db8c390540f786e4bea24989f5b630cb4a518c7846e3117
|
|
BLAKE2b-256 checksum How to use checksums |
7a3dfcf3c2b22ace4afd82ceed8a6cf8d4edbfce1249594a37cedfa5839614f8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / ucs-0.3-py3-none-any.whl
| Download URL | ucs-0.3-py3-none-any.whl |
|---|---|
| Size | 7.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5aed9995c77afec946962bfc3742eb06309fa9ca17322b378d5b4436a191337a
|
|
BLAKE2b-256 checksum How to use checksums |
7c7683ff7d08dad783210797eae0bafa4fcd691dd5f3087a3797445863dcd542
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |