components.colourspace.matrix
- class Matrix(config={}, **kwds)[source]
Bases:
Transformer
Apply a user supplied colour matrix.
Converts
n
-component input tom
-component output with a user-suppliedm x n
matrix.The
matrix
input is used to update the matrix. No processing happens until a matrix is received, and a new matrix can be applied while the component is running.The matrix is supplied as a
Frame
object, allowing an audit trail to be included describing it. The frame’s data must be anm x n
numpy.ndarray
object. The frame’s frame number must be less than zero.- inputs = ['input', 'matrix']
Comments or questions? Please email jim@jim-easterbrook.me.uk.