colour.io.AbstractLUTSequenceOperator#
- class colour.io.AbstractLUTSequenceOperator(name: str | None = None, comments: collections.abc.Sequence[str] | None = None)[source]#
Bases:
abc.ABC
Define the base class for LUT sequence operators.
This is an
ABCMeta
abstract class that must be inherited by sub-classes.- Parameters
- Return type
None
Attributes
Methods
- __init__(name: str | None = None, comments: collections.abc.Sequence[str] | None = None) None [source]#
- Parameters
name (str | None) –
comments (collections.abc.Sequence[str] | None) –
- Return type
None
- property name: str#
Getter and setter property for the LUT name.
- Parameters
value – Value to set the LUT name with.
- Returns
LUT name.
- Return type
- property comments: List[str]#
Getter and setter property for the LUT comments.
- Parameters
value – Value to set the LUT comments with.
- Returns
LUT comments.
- Return type
- abstract apply(RGB: ArrayLike, *args: Any, **kwargs: Any) NDArrayFloat [source]#
Apply the LUT sequence operator to given RGB colourspace array.
- Parameters
- Returns
Processed RGB colourspace array.
- Return type
- __weakref__#
list of weak references to the object (if defined)