X-Git-Url: http://users.mur.at/ms/git/gitweb/?p=OpenColorIO-Configs.git;a=blobdiff_plain;f=aces%2Fluts%2Fslog.py;h=7c43db6c282fdf2fa9529b281d8cd71df1c96d31;hp=86546e06e3f289340fb7b0b5e24ac56fb9a2f9d0;hb=1ce1614c96415dda3a5fc1d289322f681fe2b8b0;hpb=a2a301c14e0568fef61dfd5404f3a8b2e593df4d diff --git a/aces/luts/slog.py b/aces/luts/slog.py index 86546e0..7c43db6 100755 --- a/aces/luts/slog.py +++ b/aces/luts/slog.py @@ -37,14 +37,14 @@ def Fit(value, fromMin, fromMax, toMin, toMax): # #{ 0.133697046, 1.005410934, 0.004508563 }, # { 0.111968437, -0.026610548, 1.005253201 } -NUM_SAMPLES = 2**11 +NUM_SAMPLES = 2**14 RANGE = (-0.125, 1.125) data = [] for i in xrange(NUM_SAMPLES): x = i/(NUM_SAMPLES-1.0) x = Fit(x, 0.0, 1.0, RANGE[0], RANGE[1]) data.append(SLog10_to_lin(x)) -WriteSPI1D('slog10.spi1d', RANGE[0], RANGE[1], data) +WriteSPI1D('slog.spi1d', RANGE[0], RANGE[1], data) """ NUM_SAMPLES = 2**13