colour.CAM_Specification_LLAB

class colour.CAM_Specification_LLAB(J: typing.Optional[typing.Union[float, numpy.ndarray]] = <factory>, C: typing.Optional[typing.Union[float, numpy.ndarray]] = <factory>, h: typing.Optional[typing.Union[float, numpy.ndarray]] = <factory>, s: typing.Optional[typing.Union[float, numpy.ndarray]] = <factory>, M: typing.Optional[typing.Union[float, numpy.ndarray]] = <factory>, HC: typing.Optional[typing.Union[float, numpy.ndarray]] = <factory>, a: typing.Optional[typing.Union[float, numpy.ndarray]] = <factory>, b: typing.Optional[typing.Union[float, numpy.ndarray]] = <factory>)[source]

Define the :math:`LLAB(l:c)` 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
Return type

None

Notes

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

References

[Fai13e], [LLK96], [LM96]

__init__(J: typing.Optional[typing.Union[float, numpy.ndarray]] = <factory>, C: typing.Optional[typing.Union[float, numpy.ndarray]] = <factory>, h: typing.Optional[typing.Union[float, numpy.ndarray]] = <factory>, s: typing.Optional[typing.Union[float, numpy.ndarray]] = <factory>, M: typing.Optional[typing.Union[float, numpy.ndarray]] = <factory>, HC: typing.Optional[typing.Union[float, numpy.ndarray]] = <factory>, a: typing.Optional[typing.Union[float, numpy.ndarray]] = <factory>, b: typing.Optional[typing.Union[float, numpy.ndarray]] = <factory>) None
Parameters
Return type

None

Methods

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

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

M

HC

a

b