ComfyUI  >  Nodes  >  Allor Plugin >  ImageFilterRank

ComfyUI Node: ImageFilterRank

Class Name

ImageFilterRank

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

ImageFilterRank Description

Apply rank filter to images for noise reduction, edge detection, and feature enhancement with adjustable parameters for control.

ImageFilterRank:

The ImageFilterRank node is designed to apply a rank filter to a set of images, which is a type of non-linear filter used in image processing. This filter is particularly useful for tasks that require the enhancement or suppression of specific features within an image, such as noise reduction or edge detection. By adjusting the rank and size parameters, you can control the filter's behavior to achieve the desired effect, making it a versatile tool for various image enhancement applications. The rank filter works by sorting the pixel values within a specified neighborhood and selecting the pixel value at a given rank, allowing for fine-tuned control over the filtering process.

ImageFilterRank Input Parameters:

images

This parameter accepts a set of images that you want to apply the rank filter to. The images should be in a compatible format that the node can process.

size

The size parameter determines the dimensions of the neighborhood around each pixel that the filter will consider. It is an integer value with a default of 2, a minimum of 0, and increments in steps of 2. Increasing the size will consider a larger neighborhood, which can affect the filter's ability to smooth or preserve details in the image.

rank

The rank parameter specifies the position in the sorted list of pixel values within the neighborhood that will be selected as the output value. It is an integer value with a default of 1 and increments in steps of 1. Adjusting the rank allows you to control the filter's behavior, such as emphasizing certain features or reducing noise.

ImageFilterRank Output Parameters:

IMAGE

The output is a set of images that have been processed by the rank filter. The filtered images will reflect the adjustments made based on the size and rank parameters, showing enhanced or suppressed features as specified.

ImageFilterRank Usage Tips:

  • Experiment with different size and rank values to achieve the desired effect on your images. Larger sizes can smooth out more noise but may also blur important details.
  • Use a lower rank value to emphasize darker features and a higher rank value to highlight brighter features within the image.
  • Combine the rank filter with other filters for more complex image processing tasks, such as edge detection followed by noise reduction.

ImageFilterRank Common Errors and Solutions:

"Invalid image format"

  • Explanation: The images provided are not in a compatible format.
  • Solution: Ensure that the images are in a format supported by the node, such as standard image file types.

"Size parameter out of range"

  • Explanation: 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).

"Rank parameter out of range"

  • Explanation: The rank parameter is set to a value outside the allowed range.
  • Solution: Adjust the rank parameter to be within the specified range (step 1).

ImageFilterRank 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.