colour.CAM_Specification_Kim2009#

class colour.CAM_Specification_Kim2009(J: float | NDArrayFloat | None = <factory>, C: float | NDArrayFloat | None = <factory>, h: float | NDArrayFloat | None = <factory>, s: float | NDArrayFloat | None = <factory>, Q: float | NDArrayFloat | None = <factory>, M: float | NDArrayFloat | None = <factory>, H: float | NDArrayFloat | None = <factory>, HC: float | NDArrayFloat | None = <factory>)[source]#

Define the Kim, Weyrich and Kautz (2009) colour appearance model specification.

Parameters:
  • J (float | NDArrayFloat | None) – Correlate of Lightness \(J\).

  • C (float | NDArrayFloat | None) – Correlate of chroma \(C\).

  • h (float | NDArrayFloat | None) – Hue angle \(h\) in degrees.

  • s (float | NDArrayFloat | None) – Correlate of saturation \(s\).

  • Q (float | NDArrayFloat | None) – Correlate of brightness \(Q\).

  • M (float | NDArrayFloat | None) – Correlate of colourfulness \(M\).

  • H (float | NDArrayFloat | None) – Hue \(h\) quadrature \(H\).

  • HC (float | NDArrayFloat | None) – Hue \(h\) composition \(H^C\).

References

[KWK09]

__init__(J: float | NDArrayFloat | None = <factory>, C: float | NDArrayFloat | None = <factory>, h: float | NDArrayFloat | None = <factory>, s: float | NDArrayFloat | None = <factory>, Q: float | NDArrayFloat | None = <factory>, M: float | NDArrayFloat | None = <factory>, H: float | NDArrayFloat | None = <factory>, HC: float | NDArrayFloat | None = <factory>) None#
Parameters:
  • J (float | NDArrayFloat | None)

  • C (float | NDArrayFloat | None)

  • h (float | NDArrayFloat | None)

  • s (float | NDArrayFloat | None)

  • Q (float | NDArrayFloat | None)

  • M (float | NDArrayFloat | None)

  • H (float | NDArrayFloat | None)

  • HC (float | NDArrayFloat | None)

Return type:

None

Methods

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

arithmetical_operation(a, operation[, in_place])

Perform given arithmetical operation with \(a\) operand on the dataclass-like class.

Attributes

fields

Getter property for the fields of the dataclass-like class.

items

Getter property for the dataclass-like class items, i.e. the field names and values.

keys

Getter property for the dataclass-like class keys, i.e. the field names.

values

Getter property for the dataclass-like class values, i.e. the field values.

J

C

h

s

Q

M

H

HC