Anatomy of a CTF File
The transform format allows the author to define an arbitrary chain of color operators (also called processing nodes). The set of available operator types includes 1D LUTs, 3D LUTs, matrices, and others defined below. The format is written in XML and is therefore human readable.
Here is an example:
<!\-\- 65533 lines omitted -->
</Array>
</LUT1D>
<Matrix inBitDepth="32f" outBitDepth="32f">
<Array dim="3 3 3">
0.9259999990 0.0379999988 0.0359999985 0.1299999952 0.8000000119 0.0700000003 -0.0350000001 -0.0350000001 1.0700000525
<!\-\- 65533 lines omitted -->
</Array>
</LUT1D>
<LUT3D inBitDepth="32f" interpolation="tetrahedral" outBitDepth="32f">
<Array dim="48 48 48 3">
0.000669299 0.000704187 0.000766901 0.001848371 0.001297010 0.010368987 0.002599007 0.001144927 0.023227118
</Array>
</LUT3D>
<Gamma inBitDepth="32f" outBitDepth="32f" style="moncurveFwd">
<GammaParams gamma="2.600000000000000" offset="0.050000" />
</Gamma>
<Matrix inBitDepth="32f" outBitDepth="32f">
<Array dim="3 3 3">
3.2409698963 -1.5373831987 -0.4986107647 -0.9692436457 1.8759675026 0.0415550582 0.0556300804 -0.2039769590 1.0569715500