Initializes allocated by user image header (cvInitImageHeader).
Namespace: OpenCvSharp
Assembly: OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static IplImage InitImageHeader( CvSize size, BitDepth depth, int channels, ImageOrigin origin )
Parameters
- 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: IplImageInitialzed IplImage header
See Also