Changes the shape and/or the number of channels of a 2D matrix without copying the data.
Namespace: OpenCvSharp.CPlusPlus
Assembly: OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Parameters
- cn
- Type: SystemInt32
New number of channels. If the parameter is 0, the number of channels remains the same. - newDims
- Type: SystemInt32
New number of rows. If the parameter is 0, the number of rows remains the same.
Return Value
Type: Mat[Missing <returns> documentation for "M:OpenCvSharp.CPlusPlus.Mat.Reshape(System.Int32,System.Int32[])"]
See Also