Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse Adobe .cube file into data #110

Open
seadiem opened this issue Jan 25, 2021 · 0 comments
Open

Parse Adobe .cube file into data #110

seadiem opened this issue Jan 25, 2021 · 0 comments

Comments

@seadiem
Copy link

seadiem commented Jan 25, 2021

https://wwwimages2.adobe.com/content/dam/acom/en/products/speedgrade/cc/pdfs/cube-lut-specification-1.0.pdf
Now library supports only png luts
lookupImage = PictureInput(imageName:"lookup_miss_etikate.png")
File Example

TITLE "Generated by 3D LUT Creator (c) Oleg Sharonov"
LUT_3D_SIZE 25

0.0000 0.0000 0.0008
0.0298 0.0000 0.0047
0.0646 0.0000 0.0097
0.1022 0.0000 0.0156
0.1375 0.0000 0.0212
0.1718 0.0000 0.0271
0.2012 0.0000 0.0295
0.2320 0.0000 0.0331
0.2668 0.0000 0.0382
0.3038 0.0000 0.0451
0.3438 0.0000 0.0549
0.3869 0.0000 0.0673
0.4322 0.0000 0.0808
0.4794 0.0000 0.0952
0.5223 0.0016 0.1084
0.5623 0.0238 0.1218
0.6043 0.0558 0.1379
0.6488 0.0902 0.1579
0.6915 0.1232 0.1807
0.7289 0.1538 0.2018
0.7631 0.1834 0.2235
0.7945 0.2187 0.2459
0.8225 0.2501 0.2679
0.8411 0.2716 0.2784
0.8483 0.2806 0.2849
0.0000 0.0235 0.0000
0.0236 0.0242 0.0035
0.0629 0.0154 0.0094
0.1005 0.0066 0.0153
0.1396 0.0000 0.0216
0.1737 0.0000 0.0250
0.2030 0.0000 0.0250
0.2338 0.0000 0.0262
0.2672 0.0000 0.0333
0.3041 0.0000 0.0405
0.3441 0.0000 0.0505
0.3873 0.0000 0.0635
0.4325 0.0000 0.0777

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant