CvInitImageHeader Method (IplImage, CvSize, BitDepth, Int32, ImageOrigin, Int32) OpenCvSharp Class Library
Initializes allocated by user image header

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

public static IplImage InitImageHeader(
	out IplImage image,
	CvSize size,
	BitDepth depth,
	int channels,
	ImageOrigin origin,
	int align
)

Parameters

image
Type: OpenCvSharpIplImage
Image header to initialise.
size
Type: OpenCvSharpCvSize
Image width and height.
depth
Type: OpenCvSharpBitDepth
Image depth.
channels
Type: SystemInt32
Number of channels.
origin
Type: OpenCvSharpImageOrigin
Origin of image
align
Type: SystemInt32
Alignment for image rows, typically 4 or 8 bytes.

Return Value

Type: IplImage
Initialzed IplImage header
See Also

Reference