http://www.emgu.com
Returns matrix header for the input array that can be matrix - CvMat, image - IplImage or multi-dimensional dense array - CvMatND* (latter case is allowed only if allowND != 0) . In the case of matrix the function simply returns the input pointer. In the case of IplImage* or CvMatND* it initializes header structure with parameters of the current image ROI and returns pointer to this temporary structure. Because COI is not supported by CvMat, it is returned separately.
Namespace: Emgu.CVAssembly: Emgu.CV.World (in Emgu.CV.World.dll) Version: 3.2.0.2682 (3.2.0.2682)
Syntax public static IntPtr cvGetMat(
IntPtr arr,
IntPtr header,
out int coi,
int allowNd
)
Public Shared Function cvGetMat (
arr As IntPtr,
header As IntPtr,
<OutAttribute> ByRef coi As Integer,
allowNd As Integer
) As IntPtr
public:
static IntPtr cvGetMat(
IntPtr arr,
IntPtr header,
[OutAttribute] int% coi,
int allowNd
)
static member cvGetMat :
arr : IntPtr *
header : IntPtr *
coi : int byref *
allowNd : int -> IntPtr
Parameters
- arr
- Type: SystemIntPtr
Input array - header
- Type: SystemIntPtr
Pointer to CvMat structure used as a temporary buffer - coi
- Type: SystemInt32
Optional output parameter for storing COI - allowNd
- Type: SystemInt32
If non-zero, the function accepts multi-dimensional dense arrays (CvMatND*) and returns 2D (if CvMatND has two dimensions) or 1D matrix (when CvMatND has 1 dimension or more than 2 dimensions). The array must be continuous
Return Value
Type:
IntPtrReturns matrix header for the input array
See Also