spacepxl/ComfyUI-Image-Filters

Image/latent/matte manipulation in ComfyUI

What it solves

ComfyUI users often need to perform various image and latent manipulations that aren't covered by the default node set. This project provides a wide range of processing tools in one place, from basic filters to advanced operations like color matching, film grain, and latent normalization.

How it works

It provides a set of custom nodes that can be added to ComfyUI workflows. Each node performs a specific operation on an image, latent, mask, or conditioning input. The pack also includes two installation batch files: install.bat to install requirements, and import_error_install.bat to fix issues caused by conflicting opencv versions. The note explains that only opencv-contrib-python is truly needed.

Who it’s for

ComfyUI users who need extensive image and latent processing capabilities without writing custom code. It's especially useful for workflows involving batch processing, color correction, frequency separation, and other advanced techniques.

Highlights

  • Over 30 nodes covering latent, image, mask, conditioning, sampling, and utility tasks.
  • Latent nodes like AdaIN Latent (normalize to a reference), Batch Normalize, Clamp Outliers, and RandnLikeLatent.
  • Image nodes including BetterFilmGrain (realistic and 10x faster than ProPostFilmGrain), Blur Image (Fast) using OpenCV (>100x faster than Comfy's built‑in), and Color Match Image.
  • Frequency separation tools (Frequency Separate/Combine, Restore Detail) and matting (Image Matting using closed-form matting).
  • Utility nodes like Latent Stats (print per-channel stats), Print Sigmas (show scheduler noise), and Visualize Latents (display as grid).
  • Installation scripts to simplify setup and handle opencv import conflicts.

Related

  • Project
  • Project
  • Project
  • Project