Click or drag to resize

CvInvokecvInitImageHeader Method

http://www.emgu.com
Initializes the image header structure, pointer to which is passed by the user, and returns the pointer.

Namespace:  Emgu.CV
Assembly:  Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
Syntax
public static IntPtr cvInitImageHeader(
	IntPtr image,
	Size size,
	IplDepth depth,
	int channels,
	int origin,
	int align
)

Parameters

image
Type: SystemIntPtr
Image header to initialize.
size
Type: System.DrawingSize
Image width and height.
depth
Type: Emgu.CV.CvEnumIplDepth
Image depth
channels
Type: SystemInt32
Number of channels
origin
Type: SystemInt32
IPL_ORIGIN_TL or IPL_ORIGIN_BL.
align
Type: SystemInt32
Alignment for image rows, typically 4 or 8 bytes.

Return Value

Type: IntPtr
Pointer to the image header
See Also