Back to Adaptive Vision Library website
You are here: Start » Function Reference » Image Color Spaces » BayerToRgb
BayerToRgb
Converts a Bayer-encoded color image into RGB color space.
Syntax
C++
C#
void avl::BayerToRgb ( const avl::Image& inMonoImage, avl::BayerType::Type inBayerType, avl::Image& outRgbImage )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inMonoImage | const Image& | |||
inBayerType | BayerType::Type | |||
outRgbImage | Image& |
Hardware Acceleration
This operation supports automatic parallelization for multicore and multiprocessor systems.
Errors
Error type | Description |
---|---|
DomainError | Not a 1-channel image at input of BayerToRgb. |
DomainError | Not supported bayer type value in BayerToRgb. |