Visit ComfyUI Online for ready-to-use ComfyUI environment
Converts RGB images to YUV color space for efficient compression and manipulation using kornia library.
The ImageRGBToYUV
node is designed to convert images from the RGB color space to the YUV color space, which is often used in video compression and broadcasting. This conversion is beneficial because the YUV color space separates the image's luminance (brightness) from its chrominance (color information), allowing for more efficient compression and manipulation of images. By transforming an image into YUV, you can independently adjust the brightness and color, which is particularly useful in various image processing tasks such as color correction, filtering, and video encoding. The node leverages the kornia
library to perform this conversion, ensuring high performance and accuracy.
The image
parameter is the primary input for the ImageRGBToYUV
node. It expects an image in the RGB color space, which is the standard format for most digital images. This parameter is crucial as it provides the data that will be transformed into the YUV color space. The input image should be in a format that the node can process, typically a tensor representation of the image. There are no specific minimum, maximum, or default values for this parameter, as it depends on the image you wish to convert.
The Y
output represents the luminance component of the image, which corresponds to the brightness information. This component is crucial for understanding the light intensity in the image and is often used in tasks that require brightness adjustments or analysis.
The U
output is one of the chrominance components, representing the blue projection of the color information. It is essential for capturing the color variations in the image, particularly the blue-yellow axis, and is used in color correction and enhancement processes.
The V
output is the second chrominance component, representing the red projection of the color information. Similar to the U
component, it captures color variations, specifically along the red-green axis, and is vital for tasks involving color adjustments and image enhancement.
Y
output for tasks that require brightness adjustments, such as enhancing contrast or performing edge detection.U
and V
outputs for color correction tasks, allowing you to adjust the color balance without affecting the image's brightness.kornia
library is not installed or not accessible.kornia
library using a package manager like pip and ensure it is correctly imported in your environment.RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Playground, enabling artists to harness the latest AI tools to create incredible art.