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.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
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