CvCreateImage Method OpenCvSharp Class Library
Creates header and allocates data

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static IplImage CreateImage(
	CvSize size,
	BitDepth depth,
	int channels
)

Parameters

size
Type: OpenCvSharpCvSize
Image width and height.
depth
Type: OpenCvSharpBitDepth
Bit depth of image elements.
channels
Type: SystemInt32
Number of channels per element(pixel).

Return Value

Type: IplImage
Reference to image header
See Also

Reference