Click or drag to resize
CvInvokecvCreateImage Method
http://www.emgu.com
Creates the header and allocates data.

Namespace: Emgu.CV
Assembly: Emgu.CV.World (in Emgu.CV.World.dll) Version: 3.1.0.2282 (3.1.0.2282)
Syntax
public static IntPtr cvCreateImage(
	Size size,
	IplDepth depth,
	int channels
)

Parameters

size
Type: System.DrawingSize
Image width and height.
depth
Type: Emgu.CV.CvEnumIplDepth
Bit depth of image elements
channels
Type: SystemInt32
Number of channels per element(pixel). Can be 1, 2, 3 or 4. The channels are interleaved, for example the usual data layout of a color image is: b0 g0 r0 b1 g1 r1 ...

Return Value

Type: IntPtr
A pointer to IplImage
See Also