Visit ComfyUI Online for ready-to-use ComfyUI environment
Selective desaturation and brightness adjustment for subject isolation in images, enhancing visual contrast creatively.
The ZeST: Grayout Subject node is designed to selectively desaturate and adjust the brightness of a specific subject within an image, while preserving the color and brightness of the background. This node is particularly useful for creating artistic effects where the subject stands out in grayscale against a vibrant background, or vice versa. By leveraging a subject mask, the node identifies the area of the image to be grayed out and applies a brightness adjustment to enhance the visual contrast. This functionality is beneficial for AI artists looking to emphasize certain elements within their compositions, providing a powerful tool for creative image manipulation.
The target_image
parameter is the main image that you want to process. This image will have its subject grayed out based on the provided mask. The input should be an image in a compatible format that the node can process.
The subject_mask
parameter is a mask that defines the area of the target_image
to be grayed out. This mask should be in the same dimensions as the target_image
and will guide the node in identifying which parts of the image correspond to the subject. The mask helps in isolating the subject from the background for selective processing.
The brighter
parameter controls the brightness enhancement of the grayed-out subject. It is a floating-point value with a default of 1.0, a minimum of 0.0, and a maximum of 10.0, adjustable in steps of 0.01. This parameter allows you to fine-tune the brightness of the grayed-out subject, making it either more subdued or more prominent depending on your artistic needs.
The output of the ZeST: Grayout Subject node is an image where the subject, as defined by the subject_mask
, has been grayed out and its brightness adjusted according to the brighter
parameter. The rest of the image retains its original colors and brightness, creating a striking contrast between the subject and the background. This output can be used directly in your artwork or further processed as needed.
brighter
parameter to find the optimal brightness level that makes your subject stand out or blend in as desired.target_image
provided is not in a compatible format.target_image
is in a supported image format such as PNG or JPEG.subject_mask
dimensions do not match the dimensions of the target_image
.subject_mask
is the same size as the target_image
to ensure proper processing.brighter
parameter is set outside the allowed range of 0.0 to 10.0.brighter
parameter to be within the specified range to avoid errors.© Copyright 2024 RunComfy. All Rights Reserved.