Visit ComfyUI Online for ready-to-use ComfyUI environment
Apply mode filter to images for noise reduction while preserving edges, enhancing visual quality with edge sharpness balance.
The ImageFilterMode node is designed to apply a mode filter to a set of images, which is particularly useful for reducing noise while preserving the edges in an image. This filter works by replacing each pixel with the most frequent pixel value within a specified neighborhood, effectively smoothing the image without significantly blurring the edges. This makes it an excellent choice for enhancing the visual quality of images, especially in scenarios where maintaining edge sharpness is crucial. The node is easy to use and integrates seamlessly into your image processing workflow, providing a balance between noise reduction and detail preservation.
This parameter accepts the images you want to process. The input should be in the form of an image tensor, which the node will apply the mode filter to.
This parameter determines the size of the neighborhood around each pixel that the mode filter will consider. The size is an integer value with a default of 2, a minimum of 0, and increments in steps of 2. Increasing the size will result in a stronger filtering effect, which can further reduce noise but may also smooth out finer details.
The output is the processed image tensor with the mode filter applied. This output retains the original dimensions and format of the input images but with reduced noise and preserved edges, making it more visually appealing and suitable for further processing or analysis.
size
parameter to enhance the noise reduction effect.size
value for a balanced approach between noise reduction and edge preservation.size
values to find the optimal setting for your specific image processing needs.size
parameter is set to a value outside the allowed range.size
parameter to be within the specified range (minimum 0, step 2).© Copyright 2024 RunComfy. All Rights Reserved.