Here is a brief overview of the syntax of a CTF file.
In the list below, ? means "0 or 1 occurrence", * means "0 or more occurrences" , and + means "1 or more occurrences". If not otherwise marked, a single occurence of an element is required.
- ProcessList
-
Contains:
- Info ?
-
- Description *
-
- InputDescriptor ?
-
- OutputDescriptor ?
-
- OperatorNode +
-
This is a virtual element — replace it by one of the substitutions below (LUT1D, LUT3D, etc.).
Attributes: id, name, inBitDepth, outBitDepth
Substitute each OperatorNode by any one of the following:
- LUT1D
-
Inherited attributes: id, name, inBitDepth, outBitDepth
Attributes: interpolation, halfDomain, rawHalfs
- LUT3D
-
Inherited attributes: id, name, inBitDepth, outBitDepth
Attributes: interpolation
- Matrix
-
Inherited attributes: id, name, inBitDepth, outBitDepth
- Range
-
Inherited attributes: id, name, inBitDepth, outBitDepth
- Gamma
-
Inherited attributes: id, name, inBitDepth, outBitDepth
Contains:
- GammaParams
-
Attributes: channel, gamma, offset
- ExposureContrast
-
Inherited attributes: id, name, inBitDepth, outBitDepth
- Reference
-
attributes: alias, path, basepath