Back to Adaptive Vision Library website
You are here: Start » Function Reference » Image Color Spaces » RgbToYuv
![](../../img/icon\RgbToYuv.png)
RgbToYuv
Converts color space from Red-Green-Blue into YUV.
Header: | AVL.h |
---|
Syntax
C++
C#
void avl::RgbToYuv ( const avl::Image& inRgbImage, avl::Image& outYuvImage )
Parameters
Requirements
For input inRgbImage only pixel formats are supported: 3xuint8.
Read more about pixel formats in Image documentation.
Hardware Acceleration
This operation supports automatic parallelization for multicore and multiprocessor systems.
Errors
Error type | Description |
---|---|
DomainError | Not a 3-channel and 8 bit image in RgbToYuv. |