| MatReshape Method (Int32, Int32) | 
        
         
            Changes the shape and/or the number of channels of a 2D matrix without copying the data.
            
 
    Namespace: 
   OpenCvSharp
    Assembly:
   OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
 Syntax
Syntaxpublic Mat Reshape(
	int cn,
	params int[] newDims
)
Public Function Reshape ( 
	cn As Integer,
	ParamArray newDims As Integer()
) As Mat
public:
Mat^ Reshape(
	int cn, 
	... array<int>^ newDims
)
member Reshape : 
        cn : int * 
        newDims : int[] -> Mat 
function Reshape(cn, ... newDims);
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 See Also
See Also