applying LUT to an image lazarus / 39-Graphics ---------------------------------------------------------------------- inky · 2020-01-21 13:23 anyone noticed a code on how to apply standard colour lookup table files (csv, cube) to images? i guess i can write some small library, but i don't yet fully understand the file formats, and how the conversion works, in particular, how to assume the values for those colours that are not listed in the lut file. ---------------------------------------------------------------------- circular · 2020-01-21 15:10 Hello, I don't know if there is any algorithm though I suppose it is an interpolation. Most basic would be a trilinear interpolation. https://en.wikipedia.org/wiki/Trilinear_interpolation ---------------------------------------------------------------------- winni · 2020-01-21 16:09 Hi! LUTs can be used for any kind of color correction or transformation. They are just LookUp Tables. They can be of any format and for any use with colors. So the minimum number of LUTs is infinity. Maybe the double. A brief introduction is here: https://mixinglight.com/color-tutorial/4-things-to-know-about-working- with-luts/ Winni