ucs

Implements the CAM02-UCS (Luo et al. (2006)) forward transform.

https://github.com/crowsonkb/ucs

Science Score: 10.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: springer.com
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (5.2%) to scientific vocabulary

Keywords

color-science theano
Last synced: 10 months ago · JSON representation

Repository

Implements the CAM02-UCS (Luo et al. (2006)) forward transform.

Basic Info
  • Host: GitHub
  • Owner: crowsonkb
  • License: mit
  • Language: Python
  • Default Branch: master
  • Homepage:
  • Size: 27.3 KB
Statistics
  • Stars: 5
  • Watchers: 3
  • Forks: 2
  • Open Issues: 0
  • Releases: 0
Topics
color-science theano
Created over 9 years ago · Last pushed about 9 years ago
Metadata Files
Readme License

README.rst

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.

Owner

  • Name: Katherine Crowson
  • Login: crowsonkb
  • Kind: user

AI/generative artist.

GitHub Events

Total
  • Watch event: 1
Last Year
  • Watch event: 1

Issues and Pull Requests

Last synced: 12 months ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 35 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 1
  • Total versions: 5
  • Total maintainers: 1
pypi.org: ucs

Implements the CAM02-UCS forward transform symbolically, using Theano.

  • Versions: 5
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 35 Last month
Rankings
Dependent packages count: 10.0%
Dependent repos count: 21.7%
Forks count: 22.6%
Average: 22.9%
Stargazers count: 23.1%
Downloads: 36.9%
Maintainers (1)
Last synced: 11 months ago

Dependencies

requirements.txt pypi
  • Theano >=0.9.0
  • numpy >=1.12.1
  • scipy >=0.19.0