BayerConversionCreateDestinationImage Method (Int32, Int32, RgbConversion)

CVB.Net Documentation
Create a destination image for Bayer to RGB conversions.

Namespace:  Stemmer.Cvb.Foundation
Assembly:  Stemmer.Cvb.Foundation (in Stemmer.Cvb.Foundation.dll) Version: 14.0.0.0
Syntax

public static Image CreateDestinationImage(
	int width,
	int height,
	RgbConversion mode
)

Parameters

width
Type: SystemInt32
Width of the input image to convert for.
height
Type: SystemInt32
Height of the input image to convert for.
mode
Type: Stemmer.Cvb.FoundationRgbConversion
Conversion mode to be used

Return Value

Type: Image
BayerToRGB destination image
Remarks

Bayer to RGB conversions are also implemented as in-place operations, however the destination image needs to have a suitable width and height to be eligible. The destination width and height depends on the size of the input image as well as the conversion method.
See Also

Reference