http://www.emgu.com
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.3.0.1416 (2.3.0.1416)
Creates the header and allocates data.
Namespace: Emgu.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.3.0.1416 (2.3.0.1416)
Syntax
C# |
---|
public static IntPtr cvCreateImage( Size size, IPL_DEPTH depth, int channels ) |
Visual Basic |
---|
Public Shared Function cvCreateImage ( _ size As Size, _ depth As IPL_DEPTH, _ channels As Integer _ ) As IntPtr |
Visual C++ |
---|
public: static IntPtr cvCreateImage( Size size, IPL_DEPTH depth, int channels ) |
Parameters
- size
- Type: System.Drawing..::..Size
Image width and height.
- depth
- Type: Emgu.CV.CvEnum..::..IPL_DEPTH
Bit depth of image elements
- channels
- Type: System..::..Int32
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 ...