initializes CvMat header so that it points to the same data as the original array but has different shape - different number of channels, different number of rows or both
Namespace:
Emgu.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.0.1.0 (2.0.1.0)
Syntax
C# |
---|
public static IntPtr cvReshape( IntPtr arr, IntPtr header, int new_cn, int new_rows ) |
Visual Basic (Declaration) |
---|
Public Shared Function cvReshape ( _ arr As IntPtr, _ header As IntPtr, _ new_cn As Integer, _ new_rows As Integer _ ) As IntPtr |
Visual C++ |
---|
public: static IntPtr cvReshape( IntPtr arr, IntPtr header, int new_cn, int new_rows ) |
Parameters
- arr
- Type: System..::.IntPtr
Input array
- header
- Type: System..::.IntPtr
Output header to be filled
- new_cn
- Type: System..::.Int32
New number of channels. new_cn = 0 means that number of channels remains unchanged
- new_rows
- Type: System..::.Int32
New number of rows. new_rows = 0 means that number of rows remains unchanged unless it needs to be changed according to new_cn value. destination array to be changed
Return Value
[Missing <returns> documentation for "M:Emgu.CV.CvInvoke.cvReshape(System.IntPtr,System.IntPtr,System.Int32,System.Int32)"]