How to create LUT file?

   6967   5   0
User Avatar
Member
71 posts
Joined: 6月 2008
Offline
Hello. I can't create LUT file. Just following the docs explanation from $HFS/toolkit/html/image/lut.html. Using simple table of values, just to see if it works.
Unfortunately, getting the same error every time: “LUT failed to load”. But cannot understand where is the error.
Here is my code:


Version 1
Format any
Type RGB
From 0 1
To 0 1
Black 0
White 1
Length 4

LUT:
R {
0
0.25
0.5
1
}
G {
0
0.25
0.5
1
}
B {
0
0.25
0.5
1
}
Alexey Mazurenko
User Avatar
Member
665 posts
Joined: 7月 2005
Offline
Hi Archie,

My first guess is that you seem to have 4 channels in your LUT but only setting to RGB in the header…

Also, what H version are you using? I know there have been a few bug fixes since 10.0.345.


cheers,
-j
User Avatar
Member
71 posts
Joined: 6月 2008
Offline
Hi Jacob,
There are 3 channels (RGB) in my header and I've created a table of values for each of them. As to docs, there must be more than 2 such values. And their overall number is limited by author imagination only.
Using 10.0.295 and will try a latest one soon.
But I think there is an error somewhere in my code, it would be so great to see a working example of LUT file for 1D LUT in text file format.
Alexey Mazurenko
User Avatar
Member
665 posts
Joined: 7月 2005
Offline
Ooops,

you're right about the channel number. Bit slow today…

To see a working one, you can write one out of COPs. If you run a quick Color Correct, then RMB you should have a write lut option.

Hopefully, in ascii.


cheers,
-j
User Avatar
スタッフ
5161 posts
Joined: 7月 2005
Offline
10.0.344 is recommended if you're using LUTs. Otherwise, make sure you use a TAB, and not spaces, to separate the “Version” from “1”. This was patched in v344.
User Avatar
Member
71 posts
Joined: 6月 2008
Offline
Thanks, guys. Everything is ok.
Alexey Mazurenko
  • Quick Links