Visit ComfyUI Online for ready-to-use ComfyUI environment
Compute various statistical measures on images using ImageMagick capabilities for detailed insights and image enhancement.
The ImageMagick Statistic node is a powerful tool designed to compute various statistical measures on an image. This node leverages the capabilities of ImageMagick to analyze and process images, providing you with detailed statistical insights. Whether you need to find the mean, median, or standard deviation of pixel values, or identify the maximum and minimum values, this node can handle it all. It is particularly useful for tasks that require image analysis and enhancement, such as noise reduction, image segmentation, and feature extraction. By applying different statistical methods, you can gain a deeper understanding of the image's properties and make informed decisions for further processing.
This parameter accepts the input image that you want to analyze. The image should be in a format supported by ImageMagick.
This parameter specifies the statistical measure to be computed on the image. Options include undefined
, gradient
, maximum
, mean
, median
, minimum
, mode
, nonpeak
, root_mean_square
, and standard_deviation
. The default value is gradient
. Each option provides a different type of statistical analysis, allowing you to choose the one that best fits your needs.
This parameter defines the width of the image for the statistical computation. It accepts integer values with a minimum of 1 and a maximum of 1024. The default value is 512. Adjusting the width can impact the granularity and scope of the analysis.
This parameter defines the height of the image for the statistical computation. It accepts integer values with a minimum of 1 and a maximum of 1024. The default value is 512. Similar to the width, adjusting the height affects the analysis's detail and coverage.
This parameter specifies the color channel on which the statistical measure will be computed. Options include 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
. Choosing the appropriate channel allows you to focus the analysis on specific aspects of the image.
The output is the processed image with the applied statistical measure. This image reflects the results of the statistical analysis, providing visual insights into the computed statistics.
mean
or median
statistical measure to understand the central tendency of pixel values.standard_deviation
option to assess the variability and contrast within the image, which can be useful for identifying regions with significant differences.red
, green
, or blue
can help isolate and analyze individual color components.Invalid image format
Parameter out of range
Unsupported statistical measure
stat
parameter and ensure it is set to one of the supported options, such as mean
, median
, or standard_deviation
.Channel not found
channel
parameter to a valid option.© Copyright 2024 RunComfy. All Rights Reserved.