colour.CAM_Specification_Hellwig2022#

class colour.CAM_Specification_Hellwig2022(J: ~typing.Optional[FloatingOrNDArray] = <factory>, C: ~typing.Optional[FloatingOrNDArray] = <factory>, h: ~typing.Optional[FloatingOrNDArray] = <factory>, s: ~typing.Optional[FloatingOrNDArray] = <factory>, Q: ~typing.Optional[FloatingOrNDArray] = <factory>, M: ~typing.Optional[FloatingOrNDArray] = <factory>, H: ~typing.Optional[FloatingOrNDArray] = <factory>, HC: ~typing.Optional[FloatingOrNDArray] = <factory>, J_HK: ~typing.Optional[FloatingOrNDArray] = <factory>, Q_HK: ~typing.Optional[FloatingOrNDArray] = <factory>)[source]#

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

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

Parameters:
  • J (Optional[FloatingOrNDArray]) – Correlate of Lightness \(J\).

  • C (Optional[FloatingOrNDArray]) – Correlate of chroma \(C\).

  • h (Optional[FloatingOrNDArray]) – Hue angle \(h\) in degrees.

  • s (Optional[FloatingOrNDArray]) – Correlate of saturation \(s\).

  • Q (Optional[FloatingOrNDArray]) – Correlate of brightness \(Q\).

  • M (Optional[FloatingOrNDArray]) – Correlate of colourfulness \(M\).

  • H (Optional[FloatingOrNDArray]) – Hue \(h\) quadrature \(H\).

  • HC (Optional[FloatingOrNDArray]) – Hue \(h\) composition \(H^C\).

  • J_HK (Optional[FloatingOrNDArray]) – Correlate of Lightness \(J_{HK}\) accounting for Helmholtz-Kohlrausch effect.

  • Q_HK (Optional[FloatingOrNDArray]) – Correlate of brightness \(Q_{HK}\) accounting for Helmholtz-Kohlrausch effect.

References

[FH22], [HF22], [HSF22]

__init__(J: ~typing.Optional[FloatingOrNDArray] = <factory>, C: ~typing.Optional[FloatingOrNDArray] = <factory>, h: ~typing.Optional[FloatingOrNDArray] = <factory>, s: ~typing.Optional[FloatingOrNDArray] = <factory>, Q: ~typing.Optional[FloatingOrNDArray] = <factory>, M: ~typing.Optional[FloatingOrNDArray] = <factory>, H: ~typing.Optional[FloatingOrNDArray] = <factory>, HC: ~typing.Optional[FloatingOrNDArray] = <factory>, J_HK: ~typing.Optional[FloatingOrNDArray] = <factory>, Q_HK: ~typing.Optional[FloatingOrNDArray] = <factory>) None#
Parameters:
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