A node designed for ComfyUI that processes input images by independently clipping their color channels to enhance contrast and modify color casts. This tool serves as a reinterpretation of the "Auto Tone" feature commonly found in Photoshop.
- Facilitates independent manipulation of color channels to achieve better contrast and color accuracy.
- Allows users to define specific colors for shadows and highlights, enhancing control over the tonal balance of images.
- Provides adjustable clipping percentages for shadows and highlights, enabling tailored adjustments based on user preferences.
Context
This tool is a specialized node within ComfyUI that applies an algorithm to input images, enhancing their visual quality by adjusting color channels independently. Its purpose is to replicate and improve upon the "Auto Tone" functionality found in Adobe Photoshop, offering users a method to enhance image contrasts and color balance effectively.
Key Features & Benefits
The primary feature of this node is its ability to clip color channels separately, which significantly boosts the contrast of images while allowing for precise control over shadows and highlights. Users can input specific RGB values or HEX strings to define the tonal range for shadows and highlights, making it easier to achieve desired visual effects without extensive manual adjustments.
Advanced Functionalities
This tool includes advanced options such as customizable clipping percentages for both shadows and highlights, which allows users to define how much of the tonal range is affected by the algorithm. This flexibility is crucial for fine-tuning images, as it enables users to manipulate the intensity of adjustments based on the specific characteristics of each image.
Practical Benefits
By integrating this node into their workflow, users can significantly streamline the process of enhancing image quality in ComfyUI. The ability to independently adjust color channels and specify tonal ranges improves overall control and efficiency, resulting in higher-quality outputs with less effort compared to traditional editing methods.
Credits/Acknowledgments
The development of this node draws inspiration from the work of Gerald Bakker, who provided insights into various Adobe algorithms. Additionally, it is adapted from the [image_edit] shortcode of the Unprompted extension, originally created by ThereforeGames.