Back to Aurora Vision Library website
You are here: Start » Function Reference » Image » Image Color Spaces » Rgb888ToRgb555
Rgb888ToRgb555
Header: | AVL.h |
---|---|
Namespace: | avl |
Module: | FoundationBasic |
Converts a RGB888 image into a RGB555 one.
Applications: Compression of pixel depth from 3 to 2 bytes.
Syntax
C++
C#
void avl::Rgb888ToRgb555 ( const avl::Image& inRgb888Image, avl::Image& outRgb555Image )
Parameters
Requirements
For input inRgb888Image 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 Rgb888ToRgb555. |
DomainError | Not supported inRgb888Image pixel format in Rgb888ToRgb555. Supported formats: 3xUInt8. |