You are here: Start » AVL.NET » Function Reference » Image » Image Color Spaces » AVL.BayerToRgb
Converts a Bayer-encoded color image into RGB color space.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void BayerToRgb ( AvlNet.Image inMonoImage, AvlNet.DebayeringMethod inDebayeringMethod, AvlNet.BayerType inBayerType, AvlNet.Image outRgbImage )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inMonoImage | AvlNet.Image | ||||
inDebayeringMethod | AvlNet.DebayeringMethod | ||||
inBayerType | AvlNet.BayerType | ||||
outRgbImage | AvlNet.Image |
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).
Hardware acceleration settings may be manipulated with Settings class.
Errors
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. |