You are here: Start » FIL.NET » Function Reference » Image » Image Color Spaces » FIL.BayerToRgb

FIL.BayerToRgb

Converts a Bayer-encoded color image into RGB color space.

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

C++
C#
 
public static void BayerToRgb
(
	FilNet.Image inMonoImage,
	FilNet.DebayeringMethod inDebayeringMethod,
	FilNet.BayerType inBayerType,
	FilNet.Image outRgbImage
)

Parameters

Name Type Range Default Description
inMonoImageFilNet.Image
inDebayeringMethodFilNet.DebayeringMethod
inBayerTypeFilNet.BayerType
outRgbImageFilNet.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.

See also