ComfyUI  >  Nodes  >  Allor Plugin >  ImageFilterMode

ComfyUI Node: ImageFilterMode

Class Name

ImageFilterMode

Category
image/filter
Author
Nourepide (Account age: 2900 days)
Extension
Allor Plugin
Latest Updated
5/22/2024
Github Stars
0.2K

How to Install Allor Plugin

Install this extension via the ComfyUI Manager by searching for  Allor Plugin
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter Allor Plugin in the search bar
After installation, click the  Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

ImageFilterMode Description

Apply mode filter to images for noise reduction while preserving edges, enhancing visual quality with edge sharpness balance.

ImageFilterMode:

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.

ImageFilterMode Input Parameters:

images

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.

size

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.

ImageFilterMode Output Parameters:

IMAGE

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.

ImageFilterMode Usage Tips:

  • For images with significant noise, try increasing the size parameter to enhance the noise reduction effect.
  • Use the default size value for a balanced approach between noise reduction and edge preservation.
  • Experiment with different size values to find the optimal setting for your specific image processing needs.

ImageFilterMode Common Errors and Solutions:

Invalid image tensor

  • Explanation: This error occurs if the input provided is not a valid image tensor.
  • Solution: Ensure that the input images are correctly formatted as image tensors before passing them to the node.

Size parameter out of range

  • Explanation: This error happens when the size parameter is set to a value outside the allowed range.
  • Solution: Adjust the size parameter to be within the specified range (minimum 0, step 2).

Unexpected output format

  • Explanation: This error may occur if the output format does not match the expected image tensor format.
  • Solution: Verify that the input images are in the correct format and that the node is correctly configured to process and output image tensors.

ImageFilterMode Related Nodes

Go back to the extension to check out more related nodes.
Allor Plugin
RunComfy

© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.