Visit ComfyUI Online for ready-to-use ComfyUI environment
Transform input images with gradient maps for creative recoloring and artistic effects, enhancing visual aesthetics.
The Image Gradient Map node is designed to transform an input image by applying a gradient map, which is essentially a color transformation based on the intensity values of the original image. This node allows you to creatively recolor an image by mapping its grayscale values to a specified gradient image. The gradient image serves as a lookup table (LUT) where each intensity value in the input image is replaced with the corresponding color from the gradient image. This technique is particularly useful for creating artistic effects, enhancing visual aesthetics, and emphasizing certain features within an image. The node also offers an option to flip the gradient image horizontally, providing additional flexibility in achieving the desired visual outcome.
This parameter represents the input image that you want to transform using the gradient map. The image should be in a format that can be processed by the node, typically a tensor representation of an image. The input image's intensity values will be used to map colors from the gradient image.
This parameter is the gradient image that serves as the color lookup table (LUT) for the transformation. The gradient image should be a color image where each pixel's color corresponds to a specific intensity value. The node will use this gradient image to recolor the input image based on its intensity values.
This parameter determines whether the gradient image should be flipped horizontally before applying it to the input image. It accepts two options: "false" and "true". If set to "true", the gradient image will be flipped left to right, which can create different visual effects. The default value is "false".
The output parameter is the transformed image, which is the result of applying the gradient map to the input image. This image will have the same dimensions as the input image but with colors mapped according to the gradient image. The output is typically in tensor format, ready for further processing or display.
© Copyright 2024 RunComfy. All Rights Reserved.