colour.CAM_Specification_RLAB#

class colour.CAM_Specification_RLAB(J: ~typing.Optional[FloatingOrNDArray] = <factory>, C: ~typing.Optional[FloatingOrNDArray] = <factory>, h: ~typing.Optional[FloatingOrNDArray] = <factory>, s: ~typing.Optional[FloatingOrNDArray] = <factory>, HC: ~typing.Optional[FloatingOrNDArray] = <factory>, a: ~typing.Optional[FloatingOrNDArray] = <factory>, b: ~typing.Optional[FloatingOrNDArray] = <factory>)[source]#

Define the RLAB colour appearance model specification.

This specification has field names consistent with the remaining colour appearance models in colour.appearance but diverge from Fairchild (2013) reference.

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

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

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

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

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

  • a (Optional[FloatingOrNDArray]) – Red-green chromatic response \(a^R\).

  • b (Optional[FloatingOrNDArray]) – Yellow-blue chromatic response \(b^R\).

Notes

  • This specification is the one used in the current model implementation.

References

[Fai96], [Fai13d]

__init__(J: ~typing.Optional[FloatingOrNDArray] = <factory>, C: ~typing.Optional[FloatingOrNDArray] = <factory>, h: ~typing.Optional[FloatingOrNDArray] = <factory>, s: ~typing.Optional[FloatingOrNDArray] = <factory>, HC: ~typing.Optional[FloatingOrNDArray] = <factory>, a: ~typing.Optional[FloatingOrNDArray] = <factory>, b: ~typing.Optional[FloatingOrNDArray] = <factory>) None#
Parameters:
Return type:

None

Methods

__init__([J, C, h, s, HC, a, b])

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

HC

a

b