components.colourspace.matrix
- class Matrix(config={}, **kwds)[source]
Bases:
TransformerApply a user supplied colour matrix.
Converts
n-component input tom-component output with a user-suppliedm x nmatrix.The
matrixinput 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
Frameobject, allowing an audit trail to be included describing it. The frame’s data must be anm x nnumpy.ndarrayobject. The frame’s frame number must be less than zero.- inputs = ['input', 'matrix']
Comments or questions? Please email jim@jim-easterbrook.me.uk.