Visit ComfyUI Online for ready-to-use ComfyUI environment
Extract line art from images with advanced edge detection for AI artists to create stylized drawings.
The LineartStandardPreprocessor is a powerful tool designed to extract line art from images, making it an essential component for AI artists who want to convert their images into clean, stylized line drawings. This node leverages advanced algorithms to detect and highlight the edges and contours within an image, providing a clear and precise line art output. By adjusting specific parameters, you can control the sensitivity and intensity of the line detection process, allowing for a high degree of customization to suit various artistic needs. Whether you are preparing images for further processing or creating standalone line art, this preprocessor offers a reliable and efficient solution.
The guassian_sigma
parameter controls the amount of Gaussian blur applied to the image before line detection. This helps in smoothing out noise and minor details, making the line detection process more robust. A higher value results in more blurring, which can help in reducing noise but may also cause loss of fine details. The default value is 6.0, with a minimum of 0.0 and a maximum of 100.0.
The intensity_threshold
parameter sets the threshold for line intensity. This determines how strong the detected lines need to be to be included in the final output. A lower threshold will include more lines, including weaker ones, while a higher threshold will only include stronger, more prominent lines. The default value is 8, with a minimum of 0 and a maximum of 16.
The output is an IMAGE
that contains the extracted line art from the input image. This output is a processed version of the original image, where the detected lines are highlighted according to the specified parameters. The resulting image can be used for various artistic purposes, such as further processing, coloring, or as a standalone piece of line art.
guassian_sigma
parameter to find the right balance between noise reduction and detail preservation. Higher values can help in reducing noise but may blur out finer details.intensity_threshold
to control the prominence of the lines in your output. Lower values will include more lines, which can be useful for detailed sketches, while higher values will produce cleaner, more defined line art.guassian_sigma
is outside the allowed range.guassian_sigma
is between 0.0 and 100.0.intensity_threshold
is outside the allowed range.intensity_threshold
is between 0 and 16.© Copyright 2024 RunComfy. All Rights Reserved.