Changes shape of GpuMat without copying data.

Namespace: Emgu.CV.GPU
Assembly: Emgu.CV.GPU (in Emgu.CV.GPU.dll) Version: 2.2.1.1106 (2.2.1.1106)

Syntax

         
 C#  Visual Basic  Visual C++ 
public static IntPtr gpuMatReshape(
	IntPtr src,
	int newCn,
	int newRows
)
Public Shared Function gpuMatReshape ( _
	src As IntPtr, _
	newCn As Integer, _
	newRows As Integer _
) As IntPtr
public:
static IntPtr gpuMatReshape(
	IntPtr src, 
	int newCn, 
	int newRows
)

Parameters

src
IntPtr
The GpuMat to be reshaped
newCn
Int32
New number of channels. newCn = 0 means that the number of channels remains unchanged.
newRows
Int32
New number of rows. newRows = 0 means that the number of rows remains unchanged unless it needs to be changed according to newCn value.

Return Value

A GpuMat of different shape

See Also