ComfyUI Node: Solarize

Class Name

Solarize

Category
postprocessing/Color Adjustments
Author
EllangoK (Account age: 2833days)
Extension
ComfyUI-post-processing-nodes
Latest Updated
2024-08-09
Github Stars
0.16K

How to Install ComfyUI-post-processing-nodes

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

Solarize Description

Enhance images with striking solarization effect for unique artistic style, ideal for AI artists seeking creative color adjustments.

Solarize:

The Solarize node is a powerful post-processing tool designed to enhance your images by applying a solarization effect. This effect inverts all pixel values above a specified threshold, creating a striking and artistic look. Solarization can add a unique, surreal quality to your images, making them stand out with a distinctive visual style. This node is particularly useful for AI artists looking to experiment with color adjustments and achieve creative effects that are not possible with standard image processing techniques. By manipulating the threshold parameter, you can control the intensity and extent of the solarization effect, allowing for a wide range of artistic expressions.

Solarize Input Parameters:

image

The image parameter is the input image that you want to apply the solarization effect to. This should be a tensor representing the image data. The solarization process will analyze each pixel in this image to determine whether it should be inverted based on the threshold value.

threshold

The threshold parameter determines the cutoff point for inverting pixel values. Pixels with values above this threshold will be inverted, while those below will remain unchanged. This parameter allows you to control the intensity and extent of the solarization effect. The threshold is a float value with a default of 0.5, a minimum of 0.0, and a maximum of 1.0, adjustable in steps of 0.01. Adjusting this value can significantly alter the visual outcome, enabling you to fine-tune the effect to your artistic preference.

Solarize Output Parameters:

IMAGE

The IMAGE output is the resulting image after the solarization effect has been applied. This image will have the solarization effect based on the specified threshold, with pixel values above the threshold inverted and those below remaining the same. The output image retains the same dimensions and format as the input image but with the applied artistic transformation.

Solarize Usage Tips:

  • Experiment with different threshold values to achieve various artistic effects. Lower thresholds will result in more of the image being inverted, while higher thresholds will limit the inversion to the brightest areas.
  • Combine the Solarize node with other post-processing nodes like Blur or ColorTint to create complex and unique visual styles.
  • Use the Solarize effect on high-contrast images to maximize the visual impact and create dramatic results.

Solarize Common Errors and Solutions:

Invalid image tensor

  • Explanation: The input image is not a valid tensor or is not in the expected format.
  • Solution: Ensure that the input image is a valid tensor and correctly formatted before passing it to the Solarize node.

Threshold out of range

  • Explanation: The threshold value is outside the acceptable range of 0.0 to 1.0.
  • Solution: Adjust the threshold value to be within the range of 0.0 to 1.0. Use the provided step increments to fine-tune the value accurately.

Image tensor dimensions mismatch

  • Explanation: The dimensions of the input image tensor do not match the expected dimensions.
  • Solution: Verify that the input image tensor has the correct dimensions and format required by the Solarize node. Ensure it matches the expected input specifications.

Solarize Related Nodes

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