colour.CAM_Specification_Hellwig2022#

class colour.CAM_Specification_Hellwig2022(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>, J_HK: float | NDArrayFloat | None = <factory>, Q_HK: float | NDArrayFloat | None = <factory>)[source]#

Define the Hellwig and Fairchild (2022) colour appearance model specification.

This specification supports the Helmholtz-Kohlrausch effect extension from [HSF22].

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\).

  • J_HK (float | NDArrayFloat | None) – Correlate of Lightness \(J_{HK}\) accounting for Helmholtz-Kohlrausch effect.

  • Q_HK (float | NDArrayFloat | None) – Correlate of brightness \(Q_{HK}\) accounting for Helmholtz-Kohlrausch effect.

References

[FH22], [HF22], [HSF22]

__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>, J_HK: float | NDArrayFloat | None = <factory>, Q_HK: 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)

  • J_HK (float | NDArrayFloat | None)

  • Q_HK (float | NDArrayFloat | None)

Return type:

None

Methods

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

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

J_HK

Q_HK