ComfyUI > Nodes > ComfyUI-LogicUtils > FFT Image

ComfyUI Node: FFT Image

Class Name

FFTNode

Category
image
Author
aria1th (Account age: 3016days)
Extension
ComfyUI-LogicUtils
Latest Updated
2026-01-21
Github Stars
0.1K

How to Install ComfyUI-LogicUtils

Install this extension via the ComfyUI Manager by searching for ComfyUI-LogicUtils
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-LogicUtils 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
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

FFT Image Description

FFTNode enables image frequency analysis and manipulation for filtering and enhancement tasks.

FFT Image:

The FFTNode is designed to perform Fast Fourier Transform (FFT) operations on images, allowing you to analyze and manipulate the frequency components of an image. This node is particularly useful for tasks that require frequency domain processing, such as filtering, noise reduction, or enhancing specific features within an image. By transforming an image into its frequency components, you can apply various filters to emphasize or suppress certain frequencies, which can be beneficial for artistic effects or improving image quality. The FFTNode simplifies this complex mathematical process, making it accessible to users without a deep technical background, and provides a powerful tool for creative image manipulation.

FFT Image Input Parameters:

image

The image parameter is the primary input for the FFTNode, representing the image you wish to process. This parameter accepts an image object, typically in a format compatible with the Python Imaging Library (PIL). The image is transformed into its frequency components using FFT, allowing for subsequent frequency-based manipulations. The quality and characteristics of the input image can significantly impact the results, as the FFT operation will analyze and transform all pixel data into the frequency domain.

mask_radius

The mask_radius parameter defines the radius of the low-pass filter mask applied in the frequency domain. This parameter controls the extent to which high-frequency components are suppressed, effectively smoothing the image and reducing noise. A smaller mask radius will result in more aggressive filtering, removing finer details, while a larger radius will preserve more of the original image's detail. The choice of mask radius depends on the desired level of filtering and the specific artistic or technical goals you aim to achieve with the FFTNode.

FFT Image Output Parameters:

IMAGE

The output of the FFTNode is an IMAGE, which is the processed version of the input image after applying the FFT and the specified frequency filter. This output image reflects the changes made in the frequency domain, such as noise reduction or feature enhancement, and is returned in a format suitable for further processing or display. The resulting image can exhibit smoother textures or enhanced features, depending on the filter settings, and serves as a versatile tool for creative and technical image manipulation.

FFT Image Usage Tips:

  • Experiment with different mask_radius values to achieve the desired balance between noise reduction and detail preservation. Smaller values will smooth the image more, while larger values will retain more detail.
  • Use the FFTNode in combination with other image processing nodes to create complex effects or improve image quality, such as enhancing edges or reducing specific types of noise.

FFT Image Common Errors and Solutions:

Invalid image format

  • Explanation: The input image is not in a compatible format for processing.
  • Solution: Ensure that the image is in a format supported by the Python Imaging Library (PIL), such as JPEG or PNG, before passing it to the FFTNode.

Mask radius too large

  • Explanation: The mask_radius value exceeds the dimensions of the image, leading to ineffective filtering.
  • Solution: Adjust the mask_radius to be smaller than half the smallest dimension of the image to ensure proper filtering in the frequency domain.

FFT Image Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-LogicUtils
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

FFT Image