BayerConversionCreateDestinationImage Method (Size2D, 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(
	Size2D size,
	RgbConversion mode
)

Parameters

size
Type: Stemmer.CvbSize2D
Size 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