Jump to content
You must now use your email address to sign in [click for more info] ×

Recommended Posts

Hiya, 

I'm really struggling to wrap my head around the 'infer LUT' adjustment. I trialed a plugin that I eventually decided wasn't worth the money. There was 1 filter on it that I love though, so I am trying to emulate it. 

I would've thought this is where the Infer LUT option would help me out here, but I am really struggling to make it work. 

Here is one of my photos untouched:

example5.jpg.915f172d14eb37a967ed0765f58d3681.jpg

Here is the filter I love using: 

exmple6.jpg.cc7f92abe72bf94c38bd97ab9d355f86.jpg

Here is another untouched photo:

example7.jpg.94e105b5d571253f3e1999f595fac710.jpg

Here is the infer LUT adjustment using the two first photos:

example8.jpg.1b7ce9c53ab365a2547b441ab3ba177e.jpg

 

So what is going on here? Can anyone suggestion another way of doing this? I have been going round in circles trying to emulate this filter. If this isn't what infer LUT is for, then what is it for?

Thanks in advance! :) 

 

 

Link to comment
Share on other sites

  • Staff

Using Inter Lut will compare the source file and an adjusted one, the process will mimic the adjusted one as close as it can but results will vary. You may want to try mimicking the colour grading from one image to another as it may give better results. We don't have a tutorial on this but there are some available on YouTube like this one.

Link to comment
Share on other sites

@Claire_Marie - As @Lee D notes, the Infer LUT operation compares the before and after color of an image and tries to reverse engineer the color in the after image based on the before image.  Some images that are used in the Infer LUT operation may not have a very wide variety of tone or color represented in them, so when inferring a LUT from them, the inferred LUT only captures part of the toning (the toning restricted to the colors present in the image).  One way that LUTs are stored in a graphical format is to use a before and after version of a special color image called an Identity (ungraded, neutral) HALD CLUT (color lookup table) image like this one:

HALD_256.png

As you can see, this special image is essentially a grid of colors with a wide range of tonal and hue variation.  Copy this HALD image and run it through your filter and then use the before and after versions of it as your Infer LUT base images.  The Identity HALD image contains a lot of colors and will capture your filter's color transform fully.  As with all LUTs, the HALD images need to be in the color space of the image you are editing for the color transform of the LUT to work as expected.

Here is  link to a page of technical LUTs which includes the original HALD image I posted here:

https://3dlutcreator.com/3d-lut-creator---materials-and-luts.html

For example, here is a webpage that contains a link to several HALD CLUTs that capture color transforms for several film simulations.  You can use these in AP to apply a film look to your image with a LUT adjustment layer and the Infer LUT feature.

https://patdavid.net/2015/03/film-emulation-in-rawtherapee.html

Kirk

Link to comment
Share on other sites

16 hours ago, kirkt said:

For example, here is a webpage that contains a link to several HALD CLUTs that capture color transforms for several film simulations.  You can use these in AP to apply a film look to your image with a LUT adjustment layer and the Infer LUT feature.

https://patdavid.net/2015/03/film-emulation-in-rawtherapee.html

Wow!!! Thank you so much for your detailed explanation & the links. This works great in AP!

To make it super simple to use these inferred LUTs, I realized that they can be applied in macros. At first, I could not figure out how to give the LUT adjustment layer a descriptive name as part of the macro when nested as a child layer, but setting the Assistant manager option "Adding adjustment layer to selection" to "Add adjustment as new layer" solved that.

Since the inferred LUT is 'baked' into the macro, it isn't even necessary to have the contents of the HaldCLUT folder available after the macro is saved to the Library. Since that folder is around 420 MB, to save space on the startup drive, it could be offloaded to thumb drive or whatever.

👍👍👍

All 3 1.10.8, & all 3 V2.4.1 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7
Affinity Photo 
1.10.8; Affinity Designer 1.108; & all 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7

Link to comment
Share on other sites

Thank you so much for your replies, the HALD image has now worked almost perfectly on many of my photos, I just have to tweak a few little things but that's all fine in my book. Again, thank you for your time. I am really enjoying getting to know both Affinity Photo and Affinity Designer. 

Link to comment
Share on other sites

On 7/16/2020 at 9:31 AM, kirkt said:

One way that LUTs are stored in a graphical format is to use a before and after version of a special color image called an Identity (ungraded, neutral) HALD CLUT (color lookup table) image like this one

FWIW, http://www.quelsolaar.com/technology/clut.html includes a lot of detailed info about HALD CLUT's, the identity versions, & so on that I found very helpful in understanding what they are & how they can be used.

Also, mostly for my own amusement I created nine macros based on the resources from the Pat David.net web page HaldCLUT download, using AP's "Infer LUT..." with the Hald_CLUT_Identity_12.tif as the source file & one of the CreativePack-1pngs as the adjusted one. Each of them includes 5 steps like this one for the FallColors.png:

2051542946_fallcolorsmacro.jpg.4acf0f8710ed0acb64b6ab321283b347.jpg

Each of the macros executes very quickly even on my old iMac. Because they start with a Deselect Layers step, were recorded with the Assistant Manager set to add adjustments as new layers, & end with a "Move Inside" step (automatically applied during the rename step), they should work well with any AP file as long as the topmost layer is a pixel one like the Background layer you get by default when opening a photo file. 

Together, these 10 files from the download alone require about 10 MB of file space. The nine macros exported to a single .afmacros Affinity library file uses only about 400 KB of file space. Because everything is 'baked' into the .afmacros file, this would be a great way to share macros like these with other AP users, who would not have to download the large HaldCLUT file to use them.

I would like to upload my Creative 1 LUTs.afmacros file here or in the Resources forum, but I won't do that without first checking with Pat David to make sure it is within the scope of the license for his work. Accordingly, I am going to contact him through his 'about' link & refer to this post to explain what I want to do.

All 3 1.10.8, & all 3 V2.4.1 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7
Affinity Photo 
1.10.8; Affinity Designer 1.108; & all 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7

Link to comment
Share on other sites

Slightly off topic, does anyone here know what ‘Hald’ refers to? :/

Alfred spacer.png
Affinity Designer/Photo/Publisher 2 for Windows • Windows 10 Home/Pro
Affinity Designer/Photo/Publisher 2 for iPad • iPadOS 17.4.1 (iPad 7th gen)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.