Author Topic: applying LUT to an image  (Read 577 times)


  • New Member
  • *
  • Posts: 39
    • github
applying LUT to an image
« on: January 21, 2020, 02:23:56 pm »
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.


  • Hero Member
  • *****
  • Posts: 3645
    • Personal webpage
Re: applying LUT to an image
« Reply #1 on: January 21, 2020, 04:10:36 pm »

I don't know if there is any algorithm though I suppose it is an interpolation. Most basic would be a trilinear interpolation.
Conscience is the debugger of the mind


  • Hero Member
  • *****
  • Posts: 2116
Re: applying LUT to an image
« Reply #2 on: January 21, 2020, 05:09:37 pm »

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:



TinyPortal © 2005-2018