Start » Filter Reference » Image » Image Color Spaces » BayerToRgb
Module: | FoundationBasic |
---|
Converts a Bayer-encoded color image into RGB color space.
Applications
Name | Type | Description | |
---|---|---|---|
inMonoImage | Image | ||
inDebayeringMethod | DebayeringMethod | ||
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.
Hardware Acceleration
This operation supports automatic parallelization for multicore and multiprocessor systems.
This operation is optimized for SSSE3 technology for pixels of types: UINT8(for inDebayeringMethod=Bilinear).
This operation is optimized for NEON technology for pixels of types: UINT8(for inDebayeringMethod=Bilinear).
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 | Unsupported inBayerAlgorithm in BayerToRgb. |
DomainError | Not supported inMonoImage pixel format in BayerToRgb. Supported formats: 1xUInt8, 1xInt8, 1xUInt16, 1xInt16, 1xInt32, 1xReal. |
Complexity Level
This filter is available on Basic Complexity Level.