Share

Array (LUT3D)

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

Contains

  • A series of numeric values specifying the output values of the LUT. The corresponding input values are implied by the inBitDepth of the containing element and the number of entries (uniform distribution).

    For a 3D LUT, each entry has three values specifying the separate R, G, and B output values. The entries are in order from minimum to maximum with the index of the last column changing fastest and the index of the first column changing slowest. For example, the order of entries for a 2×2×2 cube is:

    EntryRGB
    1000
    2001
    3010
    4011
    5100
    6101
    7110
    8111

Contained By

Attributes

dim

Four integers representing the dimensions of a 3D cube followed by followed by the number of components per entry.

Only 3D LUTs with the same dimension in all three channels are supported, so the first three values must be the same. The fourth value must be 3.

The dim attribute is required, and its value must match the number of entries actually present.

Example

**** 0.000669299 0.000704187 0.000766901 0.001848371 0.001297010 0.010368987 0.002599007 0.001144927 0.023227118

<!-- 48*48*48-3 lines omitted -->

    **</Array>**
</LUT3D>

See Also

Was this information helpful?