Visit ComfyUI Online for ready-to-use ComfyUI environment
Manipulate image color channels' intensity with power function for controlled brightness and contrast adjustments, creating visual effects.
The JDC_PowerImage node is designed to manipulate the intensity of an image's color channels by raising them to a specified power. This node allows you to enhance or diminish the brightness and contrast of an image in a controlled manner. By applying a power function to the red, green, and blue channels of each pixel, you can achieve various visual effects such as darkening, lightening, or emphasizing both dark and light areas. This node is particularly useful for post-processing tasks where fine-tuning the visual impact of an image is required, providing a flexible tool for AI artists to adjust the aesthetic qualities of their creations.
This parameter represents the input image that you want to process. The image should be in a format that the node can read and manipulate, typically an RGB image.
This parameter determines the exponent to which each color channel value will be raised. It allows you to control the degree of intensity adjustment applied to the image. The value can range from 1 to 65536, with a default value of 1. A higher value will result in more pronounced changes in brightness and contrast.
This parameter specifies the mode of operation for the power function. It can take one of three values: "darken", "lighten", or "emphasize both". The "darken" mode applies the power function directly, resulting in darker tones. The "lighten" mode increases the brightness by adding the powered value to the original value. The "emphasize both" mode balances both darkening and lightening effects, providing a more nuanced adjustment.
The output parameter is the processed image with adjusted color intensities based on the specified power and mode. This image will reflect the changes made to the brightness and contrast, allowing you to see the visual impact of the adjustments.
power_of
values to achieve the desired level of brightness and contrast adjustment. Start with small increments to see subtle changes before applying more significant adjustments.power_of
value provided is outside the acceptable range.power_of
value is between 1 and 65536. Adjust the value to fall within this range.mode
parameter is set to an unrecognized value.mode
parameter is set to one of the following values: "darken", "lighten", or "emphasize both". Double-check for any typos or incorrect values.© Copyright 2024 RunComfy. All Rights Reserved.