Click or drag to resize

GpuMatReshape Method
Changes shape of GpuMat without copying data.

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


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