Visit ComfyUI Online for ready-to-use ComfyUI environment
Adjust pixel values to specified range for image normalization, exposure correction, and quality enhancement in MagickWand suite.
The ImageMagick Clamp node is designed to adjust the pixel values of an image to ensure they fall within a specified range. This process is particularly useful for normalizing images, correcting overexposed or underexposed areas, and ensuring that the pixel values are within a valid range for further processing. By clamping the pixel values, you can enhance the visual quality of your images and prepare them for subsequent transformations or analyses. This node is part of the MagickWand suite, which provides a wide range of image manipulation capabilities.
This parameter accepts the image that you want to process. The image should be in a format that is compatible with the ImageMagick library.
This parameter specifies the color channel to which the clamping operation will be applied. The available options are undefined
, red
, gray
, cyan
, green
, magenta
, blue
, yellow
, black
, alpha
, opacity
, index
, readmask
, write_mask
, meta
, composite_channels
, all_channels
, true_alpha
, rgb
, rgb_channels
, gray_channels
, sync_channels
, and default_channels
. The default value is red
. Selecting the appropriate channel allows you to target specific color components of the image for clamping.
The output is the processed image with pixel values clamped to the specified range. This ensures that all pixel values are within a valid range, improving the image's visual quality and making it suitable for further processing.
all_channels
option for the channel
parameter to apply clamping across all color channels.channel
parameter to achieve a more balanced image.Error: Invalid image format
Error: Channel not recognized
channel
parameter is set to one of the recognized options listed in the input parameters section.Error: Image processing failed
© Copyright 2024 RunComfy. All Rights Reserved.