CvArrReshape Method (CvMat, Int32, Int32) OpenCvSharp Class Library
Changes shape of matrix/image without copying data

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public CvMat Reshape(
	out CvMat header,
	int newCn,
	int newRows
)

Parameters

header
Type: OpenCvSharpCvMat
Output header to be filled.
newCn
Type: SystemInt32
New number of channels. new_cn = 0 means that number of channels remains unchanged.
newRows
Type: SystemInt32
New number of rows. new_rows = 0 means that number of rows remains unchanged unless it needs to be changed according to new_cn value. destination array to be changed.

Return Value

Type: CvMat

[Missing <returns> documentation for "M:OpenCvSharp.CvArr.Reshape(OpenCvSharp.CvMat@,System.Int32,System.Int32)"]

See Also

Reference