Back to Aurora Vision Library website

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

Rgb565ToRgb888


Header: AVL.h
Namespace: avl
Module: FoundationBasic

Converts a RGB565 image into a RGB888 one.

Applications: Decompression of pixel depth from 2 to 3 bytes.

Syntax

C++
C#
 
void avl::Rgb565ToRgb888
(
	const avl::Image& inRgb565Image,
	avl::Image& outRgb888Image
)

Parameters

Name Type Default Description
Input value inRgb565Image const Image&
Output value outRgb888Image Image&

Requirements

For input inRgb565Image only pixel formats are supported: 1⨯uint16.

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 1-channel and 16-bit image in Rgb565ToRgb888.
DomainError Not supported inRgb565Image pixel format in Rgb565ToRgb888. Supported formats: 1xUInt16.