Click or drag to resize
UMatReshape Method
http://www.emgu.com
Changes the shape and/or the number of channels of a 2D matrix without copying the data.

Namespace:  Emgu.CV
Assembly:  Emgu.CV.World (in Emgu.CV.World.dll) Version: 3.3.0.2824 (3.3.0.2824)
Syntax
public UMat Reshape(
	int cn,
	int rows = 0
)

Parameters

cn
Type: SystemInt32
New number of channels. If the parameter is 0, the number of channels remains the same.
rows (Optional)
Type: SystemInt32
New number of rows. If the parameter is 0, the number of rows remains the same.

Return Value

Type: UMat
A new mat header that has different shape
See Also