Visit ComfyUI Online for ready-to-use ComfyUI environment
Remap input images with precision using gradient lookup table for artistic color effects and dynamic transformations.
The GRADIENT MAP (JOV) π²πΊ node is designed to remap an input image using a gradient lookup table (LUT), allowing for precise control over color mapping by applying the gradient to the input image. This node translates the gradient image into a single row lookup table, making it particularly useful for artistic effects, color grading, and mapping specific color ranges to achieve desired visual effects. By leveraging this node, you can transform the color dynamics of your images, creating unique and visually appealing results that can enhance your creative projects.
This parameter determines the scaling mode to be applied to the image. It can significantly impact how the image is resized and fitted within the specified dimensions. The available options include different scaling modes such as EnumScaleMode.NONE
, which retains the original size, and other modes that adjust the image size according to various fitting strategies.
This parameter specifies the interpolation method used when scaling the image. It affects the quality and smoothness of the resized image. Common options include EnumInterpolation.LANCZOS4
, which provides high-quality results, and other interpolation methods that balance between speed and quality.
This parameter defines the width and height of the output image as a tuple (width, height). It sets the target dimensions for the image after scaling. The default value is (512, 512), but you can adjust it to fit your specific requirements.
This parameter sets the matte color for the image as a tuple (R, G, B, A). It defines the background color to be used in areas where the image does not cover the entire output dimensions. The default value is (0, 0, 0, 255), representing a fully opaque black background.
The output of this node is an image that has been remapped using the specified gradient lookup table. The resulting image will have its colors adjusted according to the gradient, providing a visually transformed version of the input image. This output can be used for further processing or as a final artistic result.
wihi
parameter to match the desired output dimensions, ensuring the image fits well within your project requirements.LANCZOS4
for the best visual results when scaling images.mode
parameter is set to a valid scaling mode from the available options.sample
parameter is set to a valid interpolation method from the available options.Β© Copyright 2024 RunComfy. All Rights Reserved.