Extensions/ComfyUI-FFT-2D
ComfyUI Extension

ComfyUI-FFT-2D

FFT-based image processing nodes for ComfyUI.

By NobutakaKuroki·Created 18 days ago·Updated 18 days ago· 1
NobutakaKuroki/ComfyUI-FFT-2D
Nodes14
On cloudLocal install
Categoryfft
Stars1
Updated18 days ago
Readme

ComfyUI-FFT-2D

FFT-based image processing nodes for ComfyUI.

Overview

This package provides frequency-domain image processing nodes for ComfyUI, including FFT/IFFT transforms, frequency filters, convolution, deconvolution, spectrum visualization, and educational sample workflows.


Features

  • 2D FFT / IFFT
  • Frequency-domain filtering
  • FFT-based image resize
  • Low / High frequency crossover
  • 5-band graphic equalizer
  • Frequency masking
  • Convolution and Wiener deconvolution
  • Magnitude and phase preview

Included Nodes

Transform

  • Image FFT (2D)
  • Image IFFT (2D)

Filters

  • FFT Based Resize
  • FFT Crossover (Low/High)
  • FFT Graphic EQ (5-band)
  • FFT Radial Mask (Generate)

Math

  • FFT Add
  • FFT Subtract
  • FFT Multiply
  • FFT Divide (Wiener)

Preview

  • FFT Magnitude Preview
  • FFT Phase Preview

Util

  • PSF Normalize (Auto-center)
  • CZP (Generate)

Sample Workflows

Sample input images are included in the examples folder. Copy them to your ComfyUI input folder.

Lesson 1. FFT → IFFT

Workflow1


Lesson 2. FFT-based Resize

Workflow2


Lesson 3. Band-pass Filter

Workflow3


Lesson 4. Low / High Frequency Split

Workflow4


Lesson 5. Frequency Masking

Workflow5


Lesson 6. Convolution

Workflow6


Lesson 7. Deconvolution

Workflow7


Installation

Clone this repository into your ComfyUI custom_nodes folder.

ComfyUI/
└── custom_nodes/
    └── comfyui-fft-2d/

Restart ComfyUI after installation.


FREQUENCY Data Type

This node pack introduces a new custom data type:

IMAGE
   ↓ FFT
FREQUENCY
   ↓ processing
IMAGE

The zero-frequency component is always located at the center of the spectrum.


License

MIT License