CvReshape Method (CvArr, 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 static CvMat Reshape(
	CvArr arr,
	out CvMat header,
	int newCn,
	int newRows
)

Parameters

arr
Type: OpenCvSharpCvArr
Input array.
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.Cv.Reshape(OpenCvSharp.CvArr,OpenCvSharp.CvMat@,System.Int32,System.Int32)"]

See Also

Reference