CvInitImageHeader Method (IplImage, CvSize, BitDepth, Int32, ImageOrigin) 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
)

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

Return Value

Type: IplImage
Initialzed IplImage header
See Also

Reference