LayerStyle

2167
By chflame
Updated 15 days ago
View on GitHub →See Common Issues →

A set of nodes for ComfyUI that can composite layer and mask to achieve Photoshop like functionality.

Available Nodes

LayerFilter: GaussianBlurV2

LayerFilter: GaussianBlurV2 Node Documentation

Overview

The LayerFilter: GaussianBlurV2 node is a processing component within the ComfyUI system, designed to apply a Gaussian blur effect to images. This node is an enhanced version of the Gaussian blur functionality, equipped to handle float precision for the blur intensity, providing finer control over the blurring effect. The node serves as a tool for achieving smooth transitions and softening details in image layers, which can be useful for various artistic and processing purposes.

Purpose

The primary purpose of this node is to perform a Gaussian blur operation on input images. Gaussian blur is commonly used in graphic design and photographic processing to reduce image noise and detail, allowing for a smoother and visually pleasing outcome. It essentially spreads pixel values based on a Gaussian function, causing the image to blur in a bell-curve pattern.

Inputs

The LayerFilter: GaussianBlurV2 node requires the following inputs:

  • Image: This input accepts one or more images to which the Gaussian blur will be applied. The images are fed into the node as a series.
  • Blur (FLOAT): This parameter controls the intensity of the blur effect. The value is expected to be a floating-point number, providing flexibility and precision for the user to fine-tune the blurring amount. The blur value ranges from 0 to 1000, with a default set to 20 and adjustable in increments of 0.05.

Outputs

The node produces the following output:

  • Image: After processing, the node outputs one or more images with the Gaussian blur effect applied. The output maintains the same format and dimensions as the input images, with the blur effect altering the visual softness and clarity.

Usage in ComfyUI Workflows

The LayerFilter: GaussianBlurV2 node can be employed in various ComfyUI workflows involving image processing and enhancement. Common use cases include:

  1. Image Smoothing: In workflows aimed at softening harsh edges or textures, this node can smooth out details, providing a more polished image.
  2. Background Blurring: When creating visual separations between a subject and the background, using this node to blur the background can help draw focus to the subject.
  3. Preprocessing for Effects: Prior to applying other image effects such as edge detection or sharpening, a Gaussian blur can prepare the image, affecting how subsequent effects behave.

Special Features and Considerations

  • Precision Control: The use of float values for the blur parameter allows for nuanced adjustments, making it suitable for detailed and professional-quality workflows.
  • Optional Blurring: If the blur value is set to 0, the node will bypass the blurring process and output the original image, offering flexibility in workflow design.
  • Image Consistency: The GaussianBlurV2 node ensures the structural integrity of the image remains intact, with only pixel intensity being affected by the blur.

Conclusion

The LayerFilter: GaussianBlurV2 node is a versatile component within the ComfyUI ecosystem, facilitating enhanced image processing capabilities through advanced Gaussian blurring. Its precision and adaptability make it a valuable asset for users seeking to integrate subtle or substantial blurring effects into their image manipulation workflows.