Visit ComfyUI Online for ready-to-use ComfyUI environment
Enhance grayscale image contrast by redistributing pixel intensity values for improved visibility and detail clarity.
The EqualizeHistogram node is designed to enhance the contrast of grayscale images by redistributing the pixel intensity values more evenly across the entire range. This process, known as histogram equalization, can significantly improve the visibility of details in images that are either too dark or too bright. By applying this technique, the node ensures that the histogram of the output image is more uniform, which can be particularly beneficial for tasks that require clear and detailed visual information. This node is especially useful in scenarios where the input image suffers from poor contrast, making it a valuable tool for AI artists looking to enhance the quality of their visual content.
The src
parameter represents the source image that you want to process. This input should be a grayscale image, as the histogram equalization technique is specifically designed for single-channel images. The function of this parameter is to provide the raw image data that will undergo contrast enhancement. There are no minimum, maximum, or default values for this parameter, as it simply requires a valid grayscale image to function correctly.
The output parameter IMAGE
is the processed image that has undergone histogram equalization. This output is an enhanced version of the input image, with improved contrast and more evenly distributed pixel intensity values. The resulting image is converted back to an RGB format, making it suitable for further processing or display. The importance of this output lies in its ability to reveal hidden details and improve the overall visual quality of the image, making it more useful for various artistic and analytical applications.
© Copyright 2024 RunComfy. All Rights Reserved.