Visit ComfyUI Online for ready-to-use ComfyUI environment
Compute mean or median image from batch of images for AI artists, smoothing effect, noise reduction, common features highlighting.
The BatchAverageImage
node is designed to process a batch of images and compute either the mean or median image from the batch. This node is particularly useful for AI artists who want to create a composite image that represents the average characteristics of a set of images. By averaging the images, you can achieve a smoothing effect that reduces noise and highlights common features across the batch. This can be beneficial for tasks such as style transfer, image denoising, or creating artistic effects that blend multiple images into a cohesive whole.
This parameter expects a batch of images as input. The images should be in a tensor format, typically with dimensions representing the batch size, height, width, and color channels. The batch of images is the primary data that will be processed to compute the average image.
This parameter determines the type of averaging operation to be performed on the batch of images. It accepts two options: mean
and median
. The mean
option calculates the average pixel value across all images in the batch, resulting in a smooth and blended image. The median
option computes the median pixel value, which can be more robust to outliers and preserve edges better than the mean. Choose the operation based on the desired effect for your composite image.
The output is a single image that represents the average of the input batch of images. Depending on the chosen operation (mean or median), the resulting image will either be a smooth blend or a robust composite that highlights common features while reducing noise. This output can be used for further processing or as a final artistic product.
mean
operation to create a smooth and blended composite image that reduces noise and highlights common features across the batch.median
operation to preserve edges and details better than the mean, especially when dealing with images that have significant outliers or noise.mean
or median
.mean
or median
to specify the type of averaging operation to be performed.© Copyright 2024 RunComfy. All Rights Reserved.