CvInvokecvCreateImageHeader Method |
http://www.emgu.com
Allocates, initializes, and returns the structure IplImage.
Namespace:
Emgu.CV
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
Syntaxpublic static IntPtr cvCreateImageHeader(
Size size,
IplDepth depth,
int channels
)
Public Shared Function cvCreateImageHeader (
size As Size,
depth As IplDepth,
channels As Integer
) As IntPtr
public:
static IntPtr cvCreateImageHeader(
Size size,
IplDepth depth,
int channels
)
static member cvCreateImageHeader :
size : Size *
depth : IplDepth *
channels : int -> IntPtr
Parameters
- size
- Type: System.DrawingSize
Image width and height. - depth
- Type: Emgu.CV.CvEnumIplDepth
Bit depth of image elements - channels
- Type: SystemInt32
Number of channels per element(pixel). Can be 1, 2, 3 or 4. The channels are interleaved, for example the usual data layout of a color image is:
b0 g0 r0 b1 g1 r1 ...
Return Value
Type:
IntPtr The structure IplImage
See Also