2

Basically what the title says.

My current view: The Cube LUT appears to be a bulky, uncompressed text file with little more to offer than what is can be encoded in a lossless PNG. That the main difference is the Cube's 17 times larger size (based on a single comparison with 64 dimensions), and that the Cube is more computationally demanding to parse than the PNG.

In addition, the PNG is a visual representation which gives the user an impression of the LUT even without importing it into an editor.

Why I think I'm wrong: The sheer number of LUT formats out there suggests that they offer more than what a PNG, or a combination of a PNG and a metadata file, can provide.

What am I missing?

2 Answers 2

1

In addition to what @Geordie said, keep in mind that LUT files can contain floating point values which means that they can describe values that would be between the 8-bit values in a PNG file. Additionally, they can describe values above 1 or below 0 for HDR workflows.

1

They're essentially the same thing with different storage layouts. A 2D LUT is just slices of a 3D LUT laid out in an image. People use formats like Cube becasue that's what the software supports. Because formats like Cube were invented before hardware acceleration it was probably just easier to load data already stored as 3D because the color transform was all done on CPU anyway. You need extra math to transform an RGB value in 2D space instead of just a 3D array lookup: LUT[R][G][B] plus you have to interpolate between 3D points of your LUT is smnaller than your color space. The file size difference is mostly due to cube files being ascii not binary.

LUTs are also used extensively in Game development to apply looks in realtime using the GPU. Here LUTs can be stored as 3D (volume) images. An advantage to 3D image storage is you can take advantage of hardware pixel interpolation in 3D. I suspect any video editing/compositing/coloring software with hardware acceleration would transcode Cube/Hald LUTs to 3D images for the actual lookup on the GPU.

Look here for info on hardware color conversion.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.