http://www.emgu.com
Changes shape of GpuMat without copying data.

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

Syntax

C#
public static IntPtr Reshape(
	IntPtr src,
	int newCn,
	int newRows
)
Visual Basic
Public Shared Function Reshape ( 
	src As IntPtr,
	newCn As Integer,
	newRows As Integer
) As IntPtr
Visual C++
public:
static IntPtr Reshape(
	IntPtr src, 
	int newCn, 
	int newRows
)
F#
static member Reshape : 
        src : IntPtr * 
        newCn : int * 
        newRows : int -> IntPtr 

Parameters

src
Type: System..::..IntPtr
The GpuMat to be reshaped.
newCn
Type: System..::..Int32
New number of channels. newCn = 0 means that the number of channels remains unchanged.
newRows
Type: System..::..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

Type: IntPtr
A GpuMat of different shape

See Also