Color Isolation FX (CRT):
ColorIsolationFX is a powerful node designed to manipulate images by isolating or rejecting specific colors based on their hue. This node is particularly useful for artists and designers who want to emphasize or de-emphasize certain colors in their images, allowing for creative control over the visual output. By converting images from RGB to HSV color space, ColorIsolationFX can accurately target hues and apply transformations such as hue shifts and masking. The node provides flexibility through various parameters, enabling users to fine-tune the color isolation process to achieve desired artistic effects. Whether you want to highlight a particular color or remove it from the image, ColorIsolationFX offers a robust solution for color manipulation in digital art.
Color Isolation FX (CRT) Input Parameters:
image
This parameter represents the input image that you want to process. It is expected to be in a format compatible with the node, typically a tensor representation of the image. The image serves as the canvas on which color isolation effects will be applied.
target_color
The target_color parameter specifies the color you wish to isolate or reject in the image. It is defined using a hexadecimal color code (e.g., #FF0000 for red). This parameter is crucial as it determines the hue that the node will focus on during processing. The default value is #FF0000.
hue_shift
hue_shift allows you to adjust the hue of the isolated color. It is a float value that can range from -0.5 to 0.5, with a default of 0.0. This parameter is useful for slightly altering the hue of the target color to achieve specific artistic effects.
window_function
This parameter determines the type of window function used to calculate the mask for color isolation. You can choose between "Gauss" and "Triangle". The choice of window function affects how the hue range is processed, influencing the smoothness and transition of the color isolation effect.
hue_width
hue_width defines the width of the hue range around the target color that will be affected. It is a float value ranging from 0.001 to 2.0, with a default of 0.3. A larger hue width will affect a broader range of hues, while a smaller width will target a more specific hue range.
curve_steepness
This parameter controls the steepness of the curve used in the mask calculation. It is a float value between 0.0 and 10.0, with a default of 1.0. Higher values result in a steeper curve, leading to a more pronounced isolation effect.
mode
The mode parameter determines whether the target color is isolated or rejected. You can choose between "Isolate" and "Reject". In "Isolate" mode, the target color is emphasized, while in "Reject" mode, it is suppressed.
output_mode
output_mode specifies the type of output you want from the node. You can choose between "Final Image" and "Show Mask". "Final Image" provides the processed image with the color isolation effect applied, while "Show Mask" displays the mask used for isolation.
Color Isolation FX (CRT) Output Parameters:
IMAGE
The output of the ColorIsolationFX node is an image tensor that reflects the applied color isolation effect. Depending on the output_mode parameter, this output can either be the final processed image with the isolated or rejected color effect or a visualization of the mask used in the process. This output is crucial for visualizing the impact of the color isolation settings and achieving the desired artistic outcome.
Color Isolation FX (CRT) Usage Tips:
- Experiment with the
hue_widthandcurve_steepnessparameters to fine-tune the range and intensity of the color isolation effect. A smallerhue_widthcan help target specific hues more precisely. - Use the
hue_shiftparameter to subtly adjust the hue of the isolated color, which can be particularly useful for achieving harmonious color schemes in your artwork. - Try different
window_functionsettings to see how they affect the smoothness of the transition between isolated and non-isolated areas. The "Gauss" function typically provides a smoother transition compared to "Triangle".
Color Isolation FX (CRT) Common Errors and Solutions:
Invalid target_color format
- Explanation: The
target_colorparameter must be a valid hexadecimal color code. - Solution: Ensure that the
target_coloris specified in the correct format, such as#RRGGBB.
Image tensor shape mismatch
- Explanation: The input image tensor does not have the expected shape.
- Solution: Verify that the input image is correctly formatted as a tensor with the appropriate dimensions for processing.
Unsupported output_mode value
- Explanation: The
output_modeparameter has an invalid value. - Solution: Ensure that
output_modeis set to either "Final Image" or "Show Mask".
