colour.CIECAM02_Specification

class colour.CIECAM02_Specification[source]

Defines the CIECAM02 colour appearance model specification.

Parameters:
  • J (numeric or array_like) – Correlate of Lightness \(J\).
  • C (numeric or array_like) – Correlate of chroma \(C\).
  • h (numeric or array_like) – Hue angle \(h\) in degrees.
  • s (numeric or array_like) – Correlate of saturation \(s\).
  • Q (numeric or array_like) – Correlate of brightness \(Q\).
  • M (numeric or array_like) – Correlate of colourfulness \(M\).
  • H (numeric or array_like) – Hue \(h\) quadrature \(H\).
  • HC (numeric or array_like) – Hue \(h\) composition \(H^C\).

References

[Fai04], [LL13], [MFH+02], [Wik07b]

Returns a new instance of the colour.CIECAM02_Specification class.

__init__()

x.__init__(…) initializes x; see help(type(x)) for signature

Methods

count(value)
index(value, [start, [stop]]) Raises ValueError if the value is not present.

Attributes

C Alias for field number 1
H Alias for field number 6
HC Alias for field number 7
J Alias for field number 0
M Alias for field number 5
Q Alias for field number 4
h Alias for field number 2
s Alias for field number 3