Back to Aurora Vision Library website

You are here: Start » Function Reference » Image » Image Color Spaces » YuvToRgb

YuvToRgb


Header: AVL.h
Namespace: avl
Module: FoundationBasic

Converts color space from YUV into Red-Green-Blue.

Syntax

C++
C#
 
void avl::YuvToRgb
(
	const avl::Image& inYuvImage,
	avl::Image& outRgbImage
)

Parameters

Name Type Default Description
Input value inYuvImage const Image&
Output value outRgbImage Image&

Requirements

For input inYuvImage only pixel formats are supported: 3⨯uint8.

Read more about pixel formats in Image documentation.

Hardware Acceleration

This operation supports automatic parallelization for multicore and multiprocessor systems.

Errors

List of possible exceptions:

Error type Description
DomainError Not a 3-channel and 8 bit image in YuvToRgb.
DomainError Not supported inYuvImage pixel format in YuvToRgb. Supported formats: 3xUInt8.