Olm LUT:
OlmLUT is a node designed to apply Look-Up Tables (LUTs) to images, allowing you to transform the color grading and overall aesthetic of your visuals with precision and ease. This node is particularly beneficial for AI artists who wish to enhance their images by applying complex color transformations that are predefined in LUT files. By leveraging the power of LUTs, OlmLUT enables you to achieve consistent and professional-grade color adjustments across your projects. The node supports various operation modes and can handle gamma correction, making it versatile for different workflows. Its primary goal is to provide a straightforward yet powerful tool for color manipulation, ensuring that even those with minimal technical background can achieve stunning results.
Olm LUT Input Parameters:
image
The image parameter represents the input image to which the LUT will be applied. This image should be in a format compatible with the node's processing capabilities, typically a NumPy array representing pixel data. The quality and resolution of the input image can significantly impact the final output, as higher resolution images may yield more detailed color transformations.
lut_file
The lut_file parameter specifies the path to the LUT file that contains the color transformation data. This file is crucial as it defines the specific color grading that will be applied to the input image. The LUT file must be in a compatible format, such as a .cube file, and should be correctly structured to ensure accurate color mapping.
strength
The strength parameter controls the intensity of the LUT effect applied to the image. It typically ranges from 0 to 1, where 0 means no effect and 1 means full application of the LUT. Adjusting this parameter allows you to blend the original image with the LUT effect, providing flexibility in achieving the desired look.
gamma_correction
The gamma_correction parameter is a boolean that determines whether gamma correction should be applied before LUT processing. When set to True, the input image is converted from linear to sRGB color space, which can be essential for ensuring accurate color representation, especially if the input image is in a linear color space.
operation_mode
The operation_mode parameter defines the mode of operation for the node, allowing you to choose between different processing methods such as normal, test_colors_horizontal, test_colors_vertical, test_gradient, test_hsv, and mid_gray_box. Each mode offers a unique way to apply the LUT, catering to various artistic needs and testing scenarios.
debug_logging
The debug_logging parameter is a boolean that, when enabled, provides detailed logging information during the LUT application process. This can be particularly useful for troubleshooting and understanding the internal workings of the node, as it outputs information about the LUT shape, range, and specific pixel transformations.
Olm LUT Output Parameters:
output_images
The output_images parameter is the result of the LUT application process. It contains the transformed image(s) with the applied color grading, ready for further use or export. This output is crucial as it represents the final visual product after the LUT transformation, showcasing the enhanced color aesthetics achieved through the node.
Olm LUT Usage Tips:
- Ensure that your LUT files are correctly formatted and compatible with the node to avoid errors during processing.
- Experiment with the
strengthparameter to achieve subtle or dramatic color effects, depending on your artistic vision. - Utilize the
gamma_correctionoption if your input images are in a linear color space to maintain accurate color representation. - Use
debug_loggingto gain insights into the LUT application process, which can help in fine-tuning your settings for optimal results.
Olm LUT Common Errors and Solutions:
LUT file not found: <path>
- Explanation: This error occurs when the specified LUT file cannot be located at the given path.
- Solution: Verify that the file path is correct and that the LUT file exists in the specified directory.
No LUT_3D_SIZE found in LUT file: <path>
- Explanation: The LUT file does not contain the required
LUT_3D_SIZEspecification, which defines the size of the LUT. - Solution: Ensure that the LUT file is properly formatted and includes the
LUT_3D_SIZEline with a valid size value.
Expected <size^3> LUT entries, found <number> in file: <path>
- Explanation: The number of LUT entries in the file does not match the expected count based on the specified LUT size.
- Solution: Check the LUT file for completeness and correctness, ensuring that all necessary entries are present and correctly formatted.
