LUTs
Look-up table (LUT) is a data structure used to transform a set of input values to a corresponding set of output values. In digital imaging and video, LUTs are most often used to convert color values from one color space or look to another, implement gamma and tone mapping, or apply creative color grades. A LUT encodes a function that, given an input color, yields an output color, allowing complex transforms to be precomputed for fast replay in software or hardware.
There are two common types: 1D LUTs and 3D LUTs. A 1D LUT stores a mapping for
LUTs can be represented in various formats, including text-based cube files (.cube), binary .3dl, or proprietary
When using LUTs, it is important to consider input and output color spaces, clipping and gamut, interpolation