ComfyUI  >  Nodes  >  AegisFlow Utility Nodes >  Hue Rotation-Vextra

ComfyUI Node: Hue Rotation-Vextra

Class Name

Hue Rotation

Category
AegisFlow/fx
Author
Aegis72 (Account age: 701 days)
Extension
AegisFlow Utility Nodes
Latest Updated
10/3/2024
Github Stars
0.0K

How to Install AegisFlow Utility Nodes

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

Hue Rotation-Vextra Description

Adjust image colors while maintaining structure and brightness, ideal for AI artists experimenting with color schemes and artistic effects.

Hue Rotation-Vextra:

Hue Rotation is a powerful node designed to adjust the hue of an image, effectively changing the colors while maintaining the image's overall structure and brightness. This node is particularly useful for AI artists looking to experiment with different color schemes or to achieve a specific artistic effect. By rotating the hue, you can transform the colors in an image in a way that can evoke different moods or highlight certain elements. The node uses a mathematical approach to shift the hue values, ensuring smooth and consistent color transitions. This makes it an essential tool for creative projects where color manipulation is key.

Hue Rotation-Vextra Input Parameters:

images

This parameter accepts a list of images that you want to apply the hue rotation to. The images should be in a format that the node can process, typically tensors representing the image data.

hue_rotation

This parameter controls the degree of hue rotation applied to the images. It is a floating-point value that specifies the angle in degrees by which the hue should be rotated. The default value is 0.0, meaning no rotation. The minimum value is 0.0, and the maximum value is 360.0, allowing for a full rotation of the color wheel. Adjusting this parameter will change the colors in the image, providing a wide range of creative possibilities.

Hue Rotation-Vextra Output Parameters:

IMAGE

The output is a list of images with the hue rotation applied. Each image is returned as a tensor, maintaining the same dimensions and format as the input images. The colors in the output images will be shifted according to the specified hue rotation angle, allowing you to see the visual impact of the color transformation.

Hue Rotation-Vextra Usage Tips:

  • Experiment with different hue_rotation values to find the perfect color scheme for your project. Small adjustments can lead to subtle changes, while larger values can create dramatic effects.
  • Use this node in combination with other color adjustment nodes to achieve more complex and nuanced color transformations.
  • When working with multiple images, ensure they are all in the same color mode to avoid inconsistencies in the hue rotation results.

Hue Rotation-Vextra Common Errors and Solutions:

ValueError: cannot convert float NaN to integer

  • Explanation: This error occurs when the hue_rotation parameter is set to a value outside the acceptable range or is not a number.
  • Solution: Ensure that the hue_rotation value is a valid float between 0.0 and 360.0.

TypeError: unsupported operand type(s) for *: 'NoneType' and 'float'

  • Explanation: This error happens when the images parameter is not provided or is set to None.
  • Solution: Make sure to provide a valid list of images as input to the node.

RuntimeError: expected scalar type Float but found Double

  • Explanation: This error can occur if the image tensors are not in the expected format.
  • Solution: Convert your images to the correct tensor format before passing them to the node. Ensure they are of type float32.

Hue Rotation-Vextra Related Nodes

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