User manual

3D LUT File Format
489
© 2014 Digital Vision
UM-2014.1-07
LUT_3D_INPUT_RANGE
Format : FLOAT FLOAT
Minimum and maximum 3D input values allowed: min3D max3D
Optional (defaults to 0.0 1.0).
LUT Format v3 Only
Example :
LUT_3D_INPUT_RANGE -1.000 4.000
Note that min1D and max1D are the minimum and maximum input
values that can be transformed by the 1D LUT. Similarly for the 3D
LUT and min3D and max3D input values.
Input values outside these ranges are clipped to these ranges before
lookup. There is no constraint on the LUT outputs.
The LUT data is specified after the header setup.
1D LUTS
A single 1D array per R,G and B component.
The LUT values will range between min3D and max3D.
Earlier LUT versions use a different range : v1 is between 0 and M,
v2 is normalised between 0 and 1.
In the file this is expanded into a single list of r,g,b triples ....
3D LUTS
The 3D LUT is an MxMxM array.
In the file this is expanded into a single list of r,g,b triples with red the fastest
moving axis, then green, then blue.