Emgu CV Library Documentation
cvReshape Method (arr, header, new_cn, new_rows)
NamespacesEmgu.CVCvInvokecvReshape(IntPtr, IntPtr, Int32, Int32)

www.emgu.com/wiki
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
Declaration Syntax
C#Visual BasicVisual C++
public static IntPtr cvReshape(
	IntPtr arr,
	IntPtr header,
	int new_cn,
	int new_rows
)
Public Shared Function cvReshape ( _
	arr As IntPtr, _
	header As IntPtr, _
	new_cn As Integer, _
	new_rows As Integer _
) As IntPtr
public:
static IntPtr cvReshape(
	IntPtr arr, 
	IntPtr header, 
	int new_cn, 
	int new_rows
)
Parameters
arr (IntPtr)
Input array
header (IntPtr)
Output header to be filled
new_cn (Int32)
New number of channels. new_cn = 0 means that number of channels remains unchanged
new_rows (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)]

Assembly: Emgu.CV (Module: Emgu.CV) Version: 1.5.0.0 (1.5.0.0)