Click or drag to resize
CvInvokecvCreateImageHeader Method
http://www.emgu.com
Allocates, initializes, and returns the structure IplImage.

Namespace: Emgu.CV
Assembly: Emgu.CV.World (in Emgu.CV.World.dll) Version: 3.2.0.2682 (3.2.0.2682)
Syntax
public static IntPtr cvCreateImageHeader(
	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
The structure IplImage
See Also