colour.CAM_Specification_CAM16#

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

Define the CAM16 colour appearance model specification.

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

Return type

None

References

[LLW+17]

__init__(J: Optional[FloatingOrNDArray] = <factory>, C: Optional[FloatingOrNDArray] = <factory>, h: Optional[FloatingOrNDArray] = <factory>, s: Optional[FloatingOrNDArray] = <factory>, Q: Optional[FloatingOrNDArray] = <factory>, M: Optional[FloatingOrNDArray] = <factory>, H: Optional[FloatingOrNDArray] = <factory>, HC: Optional[FloatingOrNDArray] = <factory>) None#
Parameters
  • J (Optional[FloatingOrNDArray]) –

  • C (Optional[FloatingOrNDArray]) –

  • h (Optional[FloatingOrNDArray]) –

  • s (Optional[FloatingOrNDArray]) –

  • Q (Optional[FloatingOrNDArray]) –

  • M (Optional[FloatingOrNDArray]) –

  • H (Optional[FloatingOrNDArray]) –

  • HC (Optional[FloatingOrNDArray]) –

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