colour.CAM_Specification_CIECAM02#

class colour.CAM_Specification_CIECAM02(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>)[source]#

Define the CIECAM02 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\).

References

[Fai04], [LL13], [MFH+02], [Wikipedia07d]

__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>) None#
Parameters:
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