ComfyUI  >  Nodes  >  ComfyUI-Image-Filters >  Enhance Detail

ComfyUI Node: Enhance Detail

Class Name

EnhanceDetail

Category
image/filters
Author
spacepxl (Account age: 295 days)
Extension
ComfyUI-Image-Filters
Latest Updated
6/22/2024
Github Stars
0.1K

How to Install ComfyUI-Image-Filters

Install this extension via the ComfyUI Manager by searching for  ComfyUI-Image-Filters
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-Image-Filters in the search bar
After installation, click the  Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Enhance Detail Description

EnhanceDetail node enhances image details for AI artists with bilateral and guided filtering techniques.

Enhance Detail:

The EnhanceDetail node is designed to improve the clarity and sharpness of images by enhancing their details. This node is particularly useful for AI artists who want to refine their generated images, making them more visually appealing and detailed. The node works by applying a combination of bilateral filtering and guided filtering techniques to the input images, which helps in reducing noise while preserving edges and fine details. The main goal of the EnhanceDetail node is to provide a more polished and professional look to your images, making them stand out with enhanced textures and finer details.

Enhance Detail Input Parameters:

images

This parameter represents the input images that you want to enhance. The images should be provided as a tensor, which is a multi-dimensional array commonly used in machine learning and image processing tasks.

filter_radius

The filter_radius parameter controls the size of the filter used in the bilateral and guided filtering processes. A larger radius will result in a stronger filtering effect, which can help in reducing noise but may also blur some details. The value should be an integer, with a default value of 0, which means no filtering is applied. The minimum value is 0, and there is no explicit maximum value, but it should be chosen based on the image size and desired effect.

sigma

The sigma parameter determines the standard deviation for the guided filter. It controls the amount of smoothing applied to the image. A higher sigma value will result in more smoothing, which can help in reducing noise but may also reduce some details. The value should be a float, with a default value of 0.1, and it is divided by 10 in the implementation to fine-tune the effect.

denoise

The denoise parameter specifies the strength of the bilateral filter applied to the image. It helps in reducing noise while preserving edges. The value should be a float, with a default value of 0.1, and it is divided by 10 in the implementation to fine-tune the effect.

detail_mult

The detail_mult parameter is a multiplier that enhances the details in the image. It controls the intensity of the detail enhancement effect. A higher value will result in more pronounced details, making the image appear sharper and more detailed. The value should be a float, with a default value of 1.0.

Enhance Detail Output Parameters:

enhanced_images

The output parameter is a tensor containing the enhanced images. These images have improved clarity and sharpness, with reduced noise and enhanced details. The enhanced images are ready for further processing or final use, depending on your specific requirements.

Enhance Detail Usage Tips:

  • To achieve a subtle enhancement, start with lower values for filter_radius, sigma, and denoise, and gradually increase them until you get the desired effect.
  • Use the detail_mult parameter to fine-tune the level of detail enhancement. Higher values will make the details more pronounced, but be cautious as it may also introduce artifacts if set too high.
  • Experiment with different combinations of filter_radius, sigma, and denoise to find the optimal settings for your specific images.

Enhance Detail Common Errors and Solutions:

"Input tensor is not in the correct format"

  • Explanation: This error occurs when the input images are not provided as a tensor.
  • Solution: Ensure that the input images are converted to a tensor format before passing them to the EnhanceDetail node.

"Filter radius must be a non-negative integer"

  • Explanation: This error occurs when the filter_radius parameter is set to a negative value.
  • Solution: Set the filter_radius parameter to a non-negative integer value.

"Sigma and denoise must be non-negative floats"

  • Explanation: This error occurs when the sigma or denoise parameters are set to negative values.
  • Solution: Ensure that both sigma and denoise parameters are set to non-negative float values.

"Detail multiplier must be a positive float"

  • Explanation: This error occurs when the detail_mult parameter is set to a non-positive value.
  • Solution: Set the detail_mult parameter to a positive float value to ensure proper detail enhancement.

Enhance Detail Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-Image-Filters
RunComfy

© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.