Allocates, initializes, and returns the structure IplImage.

Namespace:  Emgu.CV
Assembly:  Emgu.CV (in Emgu.CV.dll) Version: 2.0.1.0 (2.0.1.0)

Syntax

C#
public static IntPtr cvCreateImageHeader(
	Size size,
	IPL_DEPTH depth,
	int channels
)
Visual Basic (Declaration)
Public Shared Function cvCreateImageHeader ( _
	size As Size, _
	depth As IPL_DEPTH, _
	channels As Integer _
) As IntPtr
Visual C++
public:
static IntPtr cvCreateImageHeader(
	Size size, 
	IPL_DEPTH depth, 
	int channels
)

Parameters

size
Type: System.Drawing..::.Size
Image width and height.
depth
Type: Emgu.CV.CvEnum..::.IPL_DEPTH
Bit depth of image elements
channels
Type: System..::.Int32
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

The structure IplImage

See Also