Visit ComfyUI Online for ready-to-use ComfyUI environment
Enhances image contrast by stretching pixel value range for vibrant, detailed visuals.
The ImageMagick Linear Stretch node is designed to enhance the contrast of an image by stretching the range of pixel values. This process involves adjusting the black and white points of the image, effectively redistributing the pixel values to utilize the full dynamic range. By doing so, it can bring out details in both the shadows and highlights, making the image appear more vibrant and well-defined. This node is particularly useful for images that appear flat or lack contrast, as it can significantly improve their visual appeal without altering the overall composition.
This parameter represents the input image that you want to process. It accepts an image file in a compatible format.
The black_point parameter sets the lower threshold for the pixel values. Pixels with values below this threshold will be mapped to the minimum value (black). This helps in enhancing the darker areas of the image. The value ranges from 0.0 to 1024, with a default value of 0.0. Adjusting this value can help in bringing out details in the shadow regions.
The white_point parameter sets the upper threshold for the pixel values. Pixels with values above this threshold will be mapped to the maximum value (white). This helps in enhancing the brighter areas of the image. The value ranges from 0.0 to 1024, with a default value of 1.0. Adjusting this value can help in bringing out details in the highlight regions.
The output is the processed image with enhanced contrast. The pixel values are redistributed to utilize the full dynamic range, resulting in a more vibrant and well-defined image. This output can be used for further processing or as a final result.
Image format not supported
Invalid black_point or white_point value
Image processing failed
© Copyright 2024 RunComfy. All Rights Reserved.