CvInvokecvCreateImage Method |
http://www.emgu.com
Creates the header and allocates data.
Namespace: Emgu.CVAssembly: Emgu.CV.World (in Emgu.CV.World.dll) Version: 3.2.0.2682 (3.2.0.2682)
Syntax public static IntPtr cvCreateImage(
Size size,
IplDepth depth,
int channels
)
Public Shared Function cvCreateImage (
size As Size,
depth As IplDepth,
channels As Integer
) As IntPtr
public:
static IntPtr cvCreateImage(
Size size,
IplDepth depth,
int channels
)
static member cvCreateImage :
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:
IntPtrA pointer to IplImage
See Also