http://www.emgu.com
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.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.10.1935 (2.4.10.1935)

Syntax

C#
public static IntPtr cvReshape(
	IntPtr arr,
	IntPtr header,
	int new_cn,
	int new_rows
)
Visual Basic
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
)
F#
static member cvReshape : 
        arr : IntPtr * 
        header : IntPtr * 
        new_cn : int * 
        new_rows : int -> IntPtr 

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

Type: IntPtr

[Missing <returns> documentation for "M:Emgu.CV.CvInvoke.cvReshape(System.IntPtr,System.IntPtr,System.Int32,System.Int32)"]

See Also