ComfyUI > Nodes > comfyui_bmab > BMAB Edge

ComfyUI Node: BMAB Edge

Class Name

BMAB Edge

Category
BMAB/basic
Author
portu-sim (Account age: 343days)
Extension
comfyui_bmab
Latest Updated
2024-06-09
Github Stars
0.06K

How to Install comfyui_bmab

Install this extension via the ComfyUI Manager by searching for comfyui_bmab
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter comfyui_bmab 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

BMAB Edge Description

Enhance image edges with defined, artistic effects using edge detection techniques for stylized customization.

BMAB Edge:

The BMAB Edge node is designed to enhance the edges within an image, providing a more defined and artistic look. This node leverages edge detection techniques to identify and emphasize the boundaries within an image, making it particularly useful for creating stylized effects or highlighting specific features. By adjusting the thresholds and strength parameters, you can control the intensity and appearance of the edges, allowing for a wide range of creative possibilities. The main goal of the BMAB Edge node is to offer a simple yet powerful tool for artists to enhance their images with clear and customizable edge effects.

BMAB Edge Input Parameters:

pixels

This parameter represents the input image that you want to process. It accepts an image in the form of a tensor, which will be used as the base for edge detection and enhancement.

threshold1

This parameter sets the first threshold for the Canny edge detection algorithm. It determines the lower boundary for edge detection, with a default value of 50.0. The minimum value is 1.0, and the maximum value is 255. Adjusting this value will affect the sensitivity of the edge detection, with lower values detecting more edges and higher values detecting fewer edges.

threshold2

This parameter sets the second threshold for the Canny edge detection algorithm. It determines the upper boundary for edge detection, with a default value of 200.0. The minimum value is 1.0, and the maximum value is 255. This value works in conjunction with threshold1 to fine-tune the edge detection process, with higher values resulting in more prominent edges.

strength

This parameter controls the blending strength between the original image and the edge-enhanced image. It has a default value of 0.5, with a minimum value of 0 and a maximum value of 1.0. Adjusting this value allows you to control the intensity of the edge effect, with lower values resulting in a more subtle effect and higher values creating a more pronounced edge enhancement.

unique_id

This hidden parameter is used internally to ensure the uniqueness of the node instance. It is not intended to be modified by the user.

BMAB Edge Output Parameters:

image

This parameter represents the output image after the edge enhancement process. The resulting image will have more defined and emphasized edges based on the input parameters, providing a stylized and artistic effect that can be used for various creative purposes.

BMAB Edge Usage Tips:

  • Experiment with different values for threshold1 and threshold2 to achieve the desired level of edge detection. Lower values will detect more edges, while higher values will result in fewer, more prominent edges.
  • Adjust the strength parameter to control the blending between the original image and the edge-enhanced image. A lower strength will create a more subtle effect, while a higher strength will make the edges more pronounced.
  • Use the BMAB Edge node in combination with other image processing nodes to create unique and complex visual effects.

BMAB Edge Common Errors and Solutions:

"Invalid image format"

  • Explanation: This error occurs when the input image is not in the expected format.
  • Solution: Ensure that the input image is provided as a tensor and is in a compatible format.

"Threshold values out of range"

  • Explanation: This error occurs when the threshold values are set outside the allowed range.
  • Solution: Make sure that threshold1 and threshold2 are within the range of 1.0 to 255.

"Strength value out of range"

  • Explanation: This error occurs when the strength value is set outside the allowed range.
  • Solution: Ensure that the strength parameter is within the range of 0 to 1.0.

BMAB Edge Related Nodes

Go back to the extension to check out more related nodes.
comfyui_bmab
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.