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
public static Image CreateDestinationImage(
Size2D size,
RgbConversion mode
)
Public Shared Function CreateDestinationImage (
size As Size2D,
mode As RgbConversion
) As Image
public:
static Image^ CreateDestinationImage(
Size2D size,
RgbConversion mode
)
static member CreateDestinationImage :
size : Size2D *
mode : RgbConversion -> Image
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:
ImageBayerToRGB destination image
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.
Reference