[SciPy-User] CIECAM02
Will Henney
Gmane20130611 at henney.org
Wed Jun 11 20:44:22 EDT 2014
Nathaniel Smith <njs <at> pobox.com> writes:
> CIECAM02 is a standard model of human color perception. I'm trying to
> implement a model of perceptual color similarity[1] that uses
> CIECAM02, and this requires the ability to convert from sRGB
> coordinates to CIECAM02's J, M, h coordinates. Code for doing this
> seems surprisingly short on the ground. Before I start trying to
> mechanically translate some incomprehensible matlab script [2], I
> thought I'd check whether around here has implemented such a thing, or
> knows of a suitable implementation?
>
The Wikipedia page has a link to an implementation in C:
http://scanline.ca/ciecam02/
It might be easier to adapt that.
Or you could even just wrap it with cffi or similar
Will
> -n
>
> [1] Luo, M. R., Cui, G., & Li, C. (2006). Uniform colour spaces based on
> CIECAM02 colour appearance model. Color Research & Application, 31(4),
> 320–330. doi:10.1002/col.20227
> [2] http://www.mathworks.co.uk/matlabcentral/fileexchange/40640-computational-colour-
science-using-matlab-2e/content/ciecam02.m
>
More information about the SciPy-User
mailing list