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, int align )
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 - align
- Type: SystemInt32
Alignment for image rows, typically 4 or 8 bytes.
Return Value
Type: IplImageInitialzed IplImage header
See Also