openlut/interp.py

11 lines
224 B
Python
Raw Normal View History

from functools import reduce
from imp import reload
2017-01-26 05:13:57 +01:00
import numpy as np
import openlut as ol
from openlut.lib.files import Log
img = ol.ColMap.open('img_test/rock.exr')
fSeq = img.rgbArr
lut = ol.LUT.lutFunc(ol.gamma.sRGB)