Visit ComfyUI Online for ready-to-use ComfyUI environment
Apply mathematical functions to image pixel values for creative effects like arcsin, arctan, polynomial, and sinusoid.
The ImageMagick Function node allows you to apply mathematical functions to the pixel values of an image, enabling a wide range of creative and technical effects. This node is particularly useful for AI artists looking to manipulate images in unique ways by leveraging functions such as arcsin, arctan, polynomial, and sinusoid. By adjusting the pixel values based on these mathematical functions, you can achieve effects that range from subtle enhancements to dramatic transformations. This node is a powerful tool for those who want to delve deeper into image processing and explore the artistic possibilities offered by mathematical transformations.
This parameter accepts the image you want to process. The image should be in a compatible format that the node can handle.
This parameter specifies the mathematical function to apply to the image. Options include undefined
, arcsin
, arctan
, polynomial
, and sinusoid
. The default value is arcsin
. Each function will alter the image in a different way, providing various artistic effects.
This parameter allows you to input the arguments for the selected function. It accepts a string of comma-separated values, such as 0.5, 1.0
. These arguments will be used by the function to modify the image. The default value is 0.5, 1.0
.
This parameter specifies the color channel to which the function will be applied. Options include undefined
, red
, gray
, cyan
, green
, magenta
, blue
, yellow
, black
, alpha
, opacity
, index
, readmask
, write_mask
, meta
, composite_channels
, all_channels
, true_alpha
, rgb
, rgb_channels
, gray_channels
, sync_channels
, and default_channels
. The default value is red
. Selecting different channels will affect how the function is applied to the image.
The output is the processed image with the selected mathematical function applied to the specified channel. This image can then be used for further processing or as a final output.
channel
parameter to target specific color channels for more precise control over the effect.© Copyright 2024 RunComfy. All Rights Reserved.