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: IplImageInitialzed IplImage header
See Also