Recent

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

inky

  • New Member
  • *
  • Posts: 32
    • 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.

circular

  • Hero Member
  • *****
  • Posts: 3109
    • Personal webpage
Re: applying LUT to an image
« Reply #1 on: January 21, 2020, 04:10:36 pm »
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
Conscience is the debugger of the mind

winni

  • Hero Member
  • *****
  • Posts: 887
Re: applying LUT to an image
« Reply #2 on: January 21, 2020, 05:09:37 pm »
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