LUTApply v1.0

This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Haarm-Pieter Duiker
A Blink script that will apply 3D LUT, represented using a CMSTestPattern-style image input.
9.0, 8.0 or later
01 Sep 2015

LUTApply will apply a 3D LUT represented using a CMSTestPattern-style image input, rather than by loading an external LUT file.

Have you ever authored a LUT using CMSTestPattern and GenerateLUT, but been unsure if the LUT resolution was good enough, or maybe too much? With LUTApply, you can apply the grade represented by a CMSTestPattern-style image input to another image to check the LUT resolution. You can adjust the resolution of the CMSTestPattern LUT as much as you like before committing the LUT to disk using GenerateLUT.


The Blink source code is available on Nukepedia and on github here:

Example Images

Here we have the original CMSTestPattern image and the image with a grade applied.


We can feed the second image above to apply the same grade to a separate image, while still in Nuke. Below we have an ungraded colorwheel, the colorwheel with the actual grading nodes applied and the same wheel with a grade applied by feeding the graded CMSTestPattern image into LUTApply.

LUTApply raw LUTApply graded LUTApply applyGrade

Note that imgaes 2 and 3 are very similar. The example LUT only uses a resolution of 17x17x17, but the grade in this case is not very complex. If the grade was more complex, you would want to increase the resolution of the CMSTestPattern / LUT.

Example Nuke Script

An example Nuke script can be downloaded from github here:


The MIT License (MIT) Copyright (c) 2014-2015 Haarm-Pieter Duiker Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please login in order to download these files.

You have no rights to post comments

We have 2484 guests and 113 members online