Visit ComfyUI Online for ready-to-use ComfyUI environment
Enhance image contrast by equalizing histogram for improved visibility and detail enhancement.
The tri3d-HistogramEqualization
node is designed to enhance the contrast of an image by equalizing its histogram. This process redistributes the intensity values of the image, making the histogram of the output image more uniform. The primary benefit of this node is its ability to improve the visibility of details in images, especially in cases where the image is too dark or too bright. By adjusting the distribution of pixel intensities, it can bring out hidden features and enhance the overall quality of the image. The node provides a simple interface to apply this technique, allowing you to control the degree of equalization through a strength parameter. This makes it a valuable tool for AI artists looking to enhance their images without delving into complex image processing techniques.
The image
parameter is the input image that you want to process. It is expected to be in the form of an IMAGE
type, which typically means a tensor representation of the image. This parameter is crucial as it serves as the base for the histogram equalization process. The quality and characteristics of the input image will directly affect the results of the equalization.
The strength
parameter is a FLOAT
value that determines the intensity of the histogram equalization effect applied to the image. It ranges from 0.0 to 1.0, with a default value of 1.0. A strength of 0.0 means no equalization is applied, while a strength of 1.0 applies full equalization. Adjusting this parameter allows you to blend the original image with the equalized version, providing flexibility in achieving the desired level of contrast enhancement.
The output of the tri3d-HistogramEqualization
node is an IMAGE
type, which is the processed image with enhanced contrast. This output image has undergone histogram equalization, resulting in a more balanced distribution of pixel intensities. The output is particularly useful for improving the visibility of details in images that suffer from poor contrast, making it easier to discern features that were previously obscured.
strength
value and gradually increase it until you reach the desired effect.strength
parameter is set outside its allowed range of 0.0 to 1.0.strength
parameter to be within the specified range to avoid this error.RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Playground, enabling artists to harness the latest AI tools to create incredible art.