Click or drag to resize
GpuMatReshape Method
http://www.emgu.com
Changes shape of GpuMat without copying data.

Namespace: Emgu.CV.Cuda
Assembly: Emgu.CV.Cuda (in Emgu.CV.Cuda.dll) Version: 3.0.0.2161 (3.0.0.2161)
Syntax
public GpuMat Reshape(
	int newCn,
	int newRows = 0
)

Parameters

newCn
Type: SystemInt32
New number of channels. newCn = 0 means that the number of channels remains unchanged.
newRows (Optional)
Type: SystemInt32
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: GpuMat
A GpuMat of different shape
See Also