colour.CAM_Specification_CIECAM02

class colour.CAM_Specification_CIECAM02(J: Union[float, list, tuple, numpy.ndarray] = <factory>, C: Union[float, list, tuple, numpy.ndarray] = <factory>, h: Union[float, list, tuple, numpy.ndarray] = <factory>, s: Union[float, list, tuple, numpy.ndarray] = <factory>, Q: Union[float, list, tuple, numpy.ndarray] = <factory>, M: Union[float, list, tuple, numpy.ndarray] = <factory>, H: Union[float, list, tuple, numpy.ndarray] = <factory>, HC: Union[float, list, tuple, numpy.ndarray] = <factory>)[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], [Wikipedia07b]

__init__(J: Union[float, list, tuple, numpy.ndarray] = <factory>, C: Union[float, list, tuple, numpy.ndarray] = <factory>, h: Union[float, list, tuple, numpy.ndarray] = <factory>, s: Union[float, list, tuple, numpy.ndarray] = <factory>, Q: Union[float, list, tuple, numpy.ndarray] = <factory>, M: Union[float, list, tuple, numpy.ndarray] = <factory>, H: Union[float, list, tuple, numpy.ndarray] = <factory>, HC: Union[float, list, tuple, numpy.ndarray] = <factory>) None

Methods

__init__([J, C, h, s, Q, M, H, HC])

arithmetical_operation(a, operation[, in_place])

Performs given arithmetical operation with \(a\) operand on the dataclass_like.

Attributes

J

C

h

s

Q

M

H

HC