Visit ComfyUI Online for ready-to-use ComfyUI environment
Isolate high-frequency image components to enhance details, using subtraction or division methods for texture and edge analysis.
The FrequencySeparate
node is designed to help you isolate the high-frequency components of an image by separating it from its low-frequency counterpart. This process is particularly useful in image processing tasks where you need to enhance or analyze specific details within an image. By using either subtraction or division methods, the node allows you to effectively highlight the finer details (high-frequency components) while minimizing the broader, smoother areas (low-frequency components). This can be beneficial for tasks such as texture analysis, edge detection, or any scenario where distinguishing fine details from the overall image is crucial.
This parameter represents the original image that you want to process. It serves as the primary input from which the high-frequency components will be extracted. The image should be in a format compatible with the node's processing capabilities.
This parameter is the low-frequency version of the original image. It is used as a reference to separate the high-frequency components. The low-frequency image typically contains the smoother, less detailed parts of the original image.
The mode
parameter determines the method used to separate the high-frequency components from the original image. It can take one of two values: subtract
or divide
. When set to subtract
, the node will subtract the low-frequency image from the original image and add a constant value of 0.5. When set to divide
, the node will divide the original image by the low-frequency image, adjusted by a small epsilon value, and then scale the result by 0.5. This parameter allows you to choose the most suitable method for your specific image processing task.
The eps
parameter is a small constant value used to prevent division by zero when the mode
is set to divide
. It ensures numerical stability during the division process. The default value is 0.1, with a minimum value of 0.01 and a maximum value of 0.99. Adjusting this parameter can help fine-tune the separation process, especially in images with very low-intensity values.
The high_frequency
output is the result of the separation process. It contains the high-frequency components of the original image, highlighting the finer details and textures. This output can be used for further image analysis, enhancement, or any other processing tasks that require a focus on the detailed aspects of the image.
subtract
mode for a straightforward separation of high-frequency components.eps
parameter to ensure numerical stability and avoid artifacts in the output.subtract
and divide
modes to see which method provides the best results for your specific image processing task.divide
mode, very low values in the low-frequency image can cause division by zero errors.eps
parameter to a slightly higher value to prevent division by zero and ensure numerical stability.© Copyright 2024 RunComfy. All Rights Reserved.