Visit ComfyUI Online for ready-to-use ComfyUI environment
Simulate optical color misalignment for artistic flair in post-processing.
ChromaticAberration is a post-processing effect node designed to simulate the optical phenomenon where different colors of light are refracted by different amounts, causing a slight misalignment of colors at the edges of objects. This effect can add a sense of realism or artistic flair to your images by mimicking the imperfections found in real-world lenses. By shifting the red, green, and blue channels of an image in different directions, you can create a visually striking effect that enhances the overall aesthetic of your artwork. This node is particularly useful for creating vintage or surreal looks, adding depth, and emphasizing the dynamic aspects of your compositions.
This parameter represents the input image that you want to apply the chromatic aberration effect to. The image should be in a tensor format compatible with PyTorch.
This parameter controls the amount of shift applied to the red channel of the image. The shift value can range from -20 to 20, with a default value of 0. A positive value shifts the red channel in the specified direction, while a negative value shifts it in the opposite direction.
This parameter specifies the direction in which the red channel will be shifted. It can be set to either "horizontal" or "vertical". The direction determines whether the shift will occur along the x-axis or y-axis.
This parameter controls the amount of shift applied to the green channel of the image. The shift value can range from -20 to 20, with a default value of 0. A positive value shifts the green channel in the specified direction, while a negative value shifts it in the opposite direction.
This parameter specifies the direction in which the green channel will be shifted. It can be set to either "horizontal" or "vertical". The direction determines whether the shift will occur along the x-axis or y-axis.
This parameter controls the amount of shift applied to the blue channel of the image. The shift value can range from -20 to 20, with a default value of 0. A positive value shifts the blue channel in the specified direction, while a negative value shifts it in the opposite direction.
This parameter specifies the direction in which the blue channel will be shifted. It can be set to either "horizontal" or "vertical". The direction determines whether the shift will occur along the x-axis or y-axis.
The output is the processed image with the chromatic aberration effect applied. This image will have the red, green, and blue channels shifted according to the specified parameters, resulting in a visually altered image that exhibits the desired chromatic aberration effect.
© Copyright 2024 RunComfy. All Rights Reserved.