Visit ComfyUI Online for ready-to-use ComfyUI environment
Enhance image quality by adjusting shadows and highlights for improved contrast and brightness control.
The ShadowHighlightNode
is designed to enhance the visual quality of images by adjusting the shadows and highlights. This node allows you to fine-tune the contrast and brightness in specific areas of an image, making it particularly useful for improving the dynamic range and bringing out details in both dark and bright regions. By applying smooth transitions and corrections to shadows and highlights, the node helps in achieving a balanced and visually appealing image. The main goal of this node is to provide a flexible and intuitive way to enhance images, making it an essential tool for AI artists looking to refine their artwork with precise control over lighting effects.
This parameter represents the input image that you want to process. It is the base upon which shadow and highlight adjustments will be applied. The image should be in a format compatible with the node's processing capabilities.
This parameter controls the intensity of the shadow correction applied to the image. It ranges from -100.0 to 100.0, with a default value of 0.0. A positive value increases the brightness of shadowed areas, while a negative value darkens them, allowing for nuanced control over shadow details.
This parameter adjusts the intensity of the highlight correction. It also ranges from -100.0 to 100.0, with a default value of 0.0. Positive values enhance the brightness of highlighted areas, while negative values reduce it, helping to manage overexposed regions.
This parameter defines the threshold for what is considered a shadow in the image, expressed as a percentage. It ranges from 0.0 to 100.0, with a default value of 50.0. A lower value means more areas will be treated as shadows, while a higher value restricts the shadow correction to darker regions.
This parameter sets the threshold for highlights, also expressed as a percentage. It ranges from 0.0 to 100.0, with a default value of 50.0. A lower value means more areas will be treated as highlights, while a higher value limits the correction to the brightest parts of the image.
This parameter determines the radius of the Gaussian blur applied to smooth the transitions between corrected and uncorrected areas. It ranges from 0.0 to 100.0, with a default value of 30.0. A larger radius results in smoother transitions, reducing harsh edges between different lighting zones.
The output is the processed image with adjusted shadows and highlights. This enhanced image reflects the changes made based on the input parameters, offering improved contrast and detail in both dark and bright areas. The output is designed to be visually appealing and ready for further artistic or technical use.
shadow_amount
and highlight_amount
to achieve subtle enhancements without over-processing the image.radius
parameter to control the smoothness of transitions; a higher radius can help in blending corrections seamlessly into the image.shadow_width
and highlight_width
to fine-tune which areas of the image are affected, allowing for targeted corrections in specific lighting conditions.shadow_amount
or highlight_amount
values are set outside the allowed range.radius
value is too large relative to the image dimensions, causing excessive blurring.radius
value to better suit the size of the image being processed.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.