A set of nodes for ComfyUI that can composite layer and mask to achieve Photoshop like functionality.
The LayerColor: AutoAdjustV2 node is a versatile and powerful tool designed to enhance image characteristics by automatically adjusting various color attributes. It offers a flexible approach to refining images by altering brightness, contrast, saturation, and individual color channel levels. This node is part of the ComfyUI_LayerStyle repository, which provides users with advanced image processing functionality within the ComfyUI framework.
The LayerColor: AutoAdjustV2 node is used to modify an image's visual parameters for improved distinctiveness and aesthetic appeal. It achieves these enhancements through automatic adjustments based on specified parameters, making it suitable for various image processing tasks, such as preparing images for display or further analysis.
The node requires several input parameters to perform its function. Each parameter offers a range of configurable options to customize the automatic adjustments according to user preference:
Image: The primary image input that the node will process. This input is mandatory.
Strength: An integer value ranging from 0 to 100 that determines the intensity of the applied adjustments. The default value is 100, where higher values yield a more pronounced effect.
Brightness: An integer value ranging from -100 to 100 used to modify the image's lightness. A positive value results in a brighter image, while a negative value darkens it. The default is 0, indicating no change.
Contrast: An integer value ranging from -100 to 100 that affects the image's contrast. Increasing contrast enhances the difference between light and dark areas, while decreasing it reduces those differences. The default is 0.
Saturation: An integer value ranging from -100 to 100 to fine-tune the image's color intensity. A higher value results in more vivid colors, whereas a lower value desaturates them. The default is 0.
Red, Green, Blue: Individual integer values (ranging from -100 to 100) for adjusting the respective color channel intensities in the RGB color space. Default values are 0, implying no adjustment.
Mode: A selection from modes such as "RGB", "lum + sat", "mono", "luminance", and "saturation". This governs the method for channel adjustments and overall image transformation.
Mask (Optional): An optional mask input that can be used to specify which areas of the image should be adjusted. Areas outside the mask remain unaffected.
The node produces an enhanced version of the input image, output under the following:
The LayerColor: AutoAdjustV2 node is a crucial component in sophisticated ComfyUI workflows where image quality enhancement is necessary. Users can integrate this node into workflows to prepare images for further processing, display enhancements, or even as a pre-processing step before feature extraction in more complex applications.
Example use cases include:
Multiple Channel Modes: This node allows users to select different modes for targeted adjustments, enabling flexibility in how color and intensity levels are handled.
Color Channel Adjustments: Adjustments to individual RGB channels allow specific color corrections tailored to user needs, offering nuanced control over image tone.
Strength and Masking: The node supports tuning the strength of adjustments and optional masking, providing users with additional control over which areas of an image are affected.
Automatic Adjustment: The node automatically calculates the necessary adjustments, simplifying the process and making it suitable for users without deep expertise in image processing.
By incorporating these features, the LayerColor: AutoAdjustV2 node serves as a valuable resource in both basic and advanced image processing tasks within the ComfyUI platform.
For more details, explore the node's repository on GitHub.