Back to Adaptive Vision Studio website
You are here: Start » Filter Reference » Image Color Spaces » BayerToRgb
Converts a Bayer-encoded color image into RGB color space.
Name | Type | Description | |
---|---|---|---|
inMonoImage | Image | ||
inBayerType | BayerType | ||
outRgbImage | Image |
Requirements
For input inMonoImage only pixel formats are supported: 1⨯uint8, 1⨯int8, 1⨯uint16, 1⨯int16, 1⨯int32, 1⨯real.
Read more about pixel formats in Image documentation.
Applications
Use this filter only if the conversion functionality is not provided by the camera (check appropriate pixel types).
Hardware Acceleration
This operation supports automatic parallelization for multicore and multiprocessor systems.
Errors
This filter can throw an exception to report error. Read how to deal with errors in Error Handling.
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Not a 1-channel image at input of BayerToRgb. |
DomainError | Not supported bayer type value in BayerToRgb. |
DomainError | Not supported inMonoImage pixel format in BayerToRgb. |
Complexity Level
This filter is available on Basic Complexity Level.