Visit ComfyUI Online for ready-to-use ComfyUI environment
Adjust image gamma levels for brightness and contrast enhancement, ensuring visual consistency across devices.
The LayerColor: Gamma node is designed to adjust the gamma levels of an image, which can significantly impact the overall brightness and contrast. Gamma correction is a non-linear operation used to encode and decode luminance or tristimulus values in image systems. By adjusting the gamma, you can make an image appear lighter or darker, enhancing its visual appeal and ensuring it looks correct on different display devices. This node is particularly useful for fine-tuning the visual output of your images, ensuring they meet your artistic vision and display correctly across various platforms.
This parameter accepts the image that you want to apply gamma correction to. The input should be in the format of an image tensor, which is a multi-dimensional array representing the pixel values of the image. The image parameter is essential as it provides the base on which the gamma correction will be applied.
The gamma parameter controls the level of gamma correction applied to the image. It is a floating-point value with a default of 1, a minimum of 0.1, and a maximum of 10. Adjusting this value will change the brightness and contrast of the image. A gamma value less than 1 will make the image darker, while a value greater than 1 will make it lighter. The step size for this parameter is 0.01, allowing for fine-grained adjustments.
The output is the gamma-corrected image, returned as an image tensor. This output image will have its brightness and contrast adjusted according to the specified gamma value, making it visually different from the input image. The corrected image is ready for further processing or final display, depending on your workflow.
© Copyright 2024 RunComfy. All Rights Reserved.