Visit ComfyUI Online for ready-to-use ComfyUI environment
Enhance image quality with guided filter for edge-preserving smoothing and detail enhancement.
The GuidedFilterImage
node is designed to enhance the quality and detail of images by applying a guided filter. This filter uses a guidance image to influence the filtering process, allowing for edge-preserving smoothing and detail enhancement. The guided filter is particularly useful in scenarios where you want to smooth an image while maintaining sharp edges, such as in image denoising, HDR compression, and detail enhancement. By leveraging the guidance image, the filter can effectively distinguish between noise and important features, resulting in a more visually appealing output.
This parameter represents the input image(s) that you want to filter. The images should be in a format that the node can process, typically a tensor or array of image data.
The guide parameter is the guidance image that influences the filtering process. This image helps the filter to preserve edges and important details while smoothing other areas. The guide image should be of the same dimensions as the input images.
The size parameter controls the radius of the filter. It determines the extent of the area around each pixel that the filter considers. A larger size results in more smoothing, while a smaller size preserves more detail. The value ranges from 0 to 1023, with a default of 4.
The sigma parameter affects the sensitivity of the filter to differences in intensity. A higher sigma value results in more aggressive smoothing, while a lower value preserves more detail. The value ranges from 0.01 to 100.0, with a default of 0.1 and a step size of 0.01.
The output is the filtered image, which has undergone the guided filtering process. This image retains important details and edges while reducing noise and smoothing other areas, resulting in a visually enhanced version of the input image.
ValueError: Size parameter out of range
ValueError: Sigma parameter out of range
TypeError: Input images and guide must have the same dimensions
© Copyright 2024 RunComfy. All Rights Reserved.