ComfyUI > Nodes > ComfyUI > ImageYUVToRGB

ComfyUI Node: ImageYUVToRGB

Class Name

ImageYUVToRGB

Category
image/batch
Author
ComfyAnonymous (Account age: 872days)
Extension
ComfyUI
Latest Updated
2025-05-13
Github Stars
76.71K

How to Install ComfyUI

Install this extension via the ComfyUI Manager by searching for ComfyUI
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI 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
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

ImageYUVToRGB Description

Converts YUV images to RGB for compatibility with image processing tools and display devices.

ImageYUVToRGB:

The ImageYUVToRGB node is designed to convert images from the YUV color space back to the RGB color space. This conversion is essential when you need to process or display images in a format that is more commonly used and understood by most image processing tools and display devices. The YUV color space separates image luminance (Y) from chrominance (U and V), which can be beneficial for certain types of image processing tasks, such as compression or color correction. By converting back to RGB, you can ensure that the image is in a format suitable for further editing, visualization, or output. This node is particularly useful in workflows where images are initially processed in YUV for efficiency or quality reasons and then need to be converted back to RGB for final output.

ImageYUVToRGB Input Parameters:

Y

The Y parameter represents the luminance channel of the image in the YUV color space. It is a crucial component that defines the brightness of the image. The luminance channel is typically a single-channel image that captures the intensity of light, which is essential for maintaining the image's detail and structure during the conversion process.

U

The U parameter is one of the chrominance channels in the YUV color space. It captures the blue projection of the color information, which, along with the V channel, defines the color aspects of the image. The U channel is necessary for accurately reconstructing the color information when converting back to the RGB color space.

V

The V parameter is the second chrominance channel in the YUV color space, capturing the red projection of the color information. Together with the U channel, it helps in defining the color characteristics of the image. The V channel is essential for ensuring that the colors are accurately represented when the image is converted back to RGB.

ImageYUVToRGB Output Parameters:

IMAGE

The output IMAGE parameter is the reconstructed image in the RGB color space. This image is the result of combining the luminance and chrominance information from the YUV channels to produce a full-color image. The RGB image is suitable for display, further processing, or saving in common image formats, making it versatile for various applications.

ImageYUVToRGB Usage Tips:

  • Ensure that the input Y, U, and V images are correctly aligned and correspond to the same source image to avoid color mismatches or artifacts in the output RGB image.
  • Use this node in conjunction with the ImageRGBToYUV node if you need to perform operations in the YUV color space and then convert back to RGB for final output.

ImageYUVToRGB Common Errors and Solutions:

Mismatched Channel Dimensions

  • Explanation: The dimensions of the Y, U, and V channels do not match, leading to errors during the conversion process.
  • Solution: Verify that all input channels (Y, U, V) have the same dimensions and correspond to the same image source.

Invalid Input Type

  • Explanation: The input provided is not of the expected image type, causing the node to fail.
  • Solution: Ensure that the inputs for Y, U, and V are valid image tensors and are correctly formatted for processing.

ImageYUVToRGB Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

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.