Array (Matrix)

The Array element specifies an array of values for a LUT or matrix. When it is contained by a Matrix element, the format of its contents is different than when it is contained by LUT1D or LUT3D elements.

Updated

Version 1.3.

Contains

3×3 Matrix Multiplication

3×4 Matrix Multiplication

4×4 Matrix Multiplication

4×5 Matrix Multiplication

Contained By

Attributes

dim

Specifies the size of the matrix and the number of channels to operate on.

ValueMeaning
"3 3 3"A 3×3 matrix operating on RGB values.
"3 4 3"A 3×4 matrix operating on RGB values.

Introduced in version 1.3.

"4 4 4"A 4×4 matrix operating on RGBA values.

Introduced in version 1.3.

"4 5 4"A 4×5 matrix operating on RGBA values.

Introduced in version 1.3.

"4 4 3"A 4×4 matrix operating on RGB values. If you use this option, the bottom row of the matrix should be [0 0 0 1].

This option is valid only if the version attribute of the ProcessList element is "1.2". For versions 1.3 and later, use "3 4 3" instead.

Example

3x3 Matrix Operating on RGB Values

**** 0.7841929793 0.0904410034 0.1253670007 0.0445200019 1.0391299725 -0.0836500004 0.0358299986 -0.3302420080 1.2944129705 ****

3x4 Matrix Operating on RGB Values

**** 499.99996948 0.00000000 0.00000000 94.99999237 0.00000000 499.99996948 0.00000000 94.99999237 0.00000000 0.00000000 499.99996948 94.99999237 ****

See Also