http://www.emgu.com
Changes shape of GpuMat without copying data.
Namespace: Emgu.CV.GPUAssembly: Emgu.CV.GPU (in Emgu.CV.GPU.dll) Version: 2.3.0.1416 (2.3.0.1416)
Syntax
Visual Basic |
---|
Public Function Reshape ( _
newCn As Integer, _
newRows As Integer _
) As GpuMat(Of TDepth) |
Visual C++ |
---|
public:
GpuMat<TDepth>^ Reshape(
int newCn,
int newRows
) |
Parameters
- newCn
- Type: System..::..Int32
New number of channels. newCn = 0 means that the number of channels remains unchanged.
- newRows
- Type: System..::..Int32
New number of rows. newRows = 0 means that the number of rows remains unchanged unless it needs to be changed according to newCn value.
Return Value
A GpuMat of different shape
See Also