Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
bean-mhm committed May 27, 2023
1 parent 8028d13 commit 096660e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@
import os
import time

from flim import apply_transform, vt_version
from flim import apply_transform, vt_name, vt_version


# Parameters

compress_lg2_min = -11
compress_lg2_max = 11
compress_lg2_max = 12

parallel_processing = True

Expand All @@ -46,6 +46,7 @@


# Print the parameters
print(f'{vt_name = }')
print(f'{vt_version = }')
print(f'{compress_lg2_min = }')
print(f'{compress_lg2_max = }')
Expand All @@ -61,7 +62,7 @@
print('Making a linear 3D LUT...')
lut = colour.LUT3D(
table = colour.LUT3D.linear_table(lut_dims),
name = 'flim',
name = vt_name,
domain = np.array([[0, 0, 0], [1, 1, 1]]),
size = lut_dims,
comments = lut_comments
Expand All @@ -77,7 +78,7 @@
colour.write_LUT(
LUT = lut,
path = f"{script_dir}/{lut_filename}.spi3d",
decimals = 6,
decimals = 5,
method = 'Sony SPI3D'
)

Expand Down

0 comments on commit 096660e

Please sign in to comment.