http://www.emgu.com
Changes shape of GpuMat without copying data.
Namespace: Emgu.CV.CudaAssembly: Emgu.CV.Cuda (in Emgu.CV.Cuda.dll) Version: 3.0.0.2161 (3.0.0.2161)
Syntaxpublic GpuMat Reshape(
int newCn,
int newRows = 0
)
Public Function Reshape (
newCn As Integer,
Optional newRows As Integer = 0
) As GpuMat
public:
GpuMat^ Reshape(
int newCn,
int newRows = 0
)
member Reshape :
newCn : int *
?newRows : int
(* Defaults:
let _newRows = defaultArg newRows 0
*)
-> GpuMat
Parameters
- newCn
- Type: SystemInt32
New number of channels. newCn = 0 means that the number of channels remains unchanged. - newRows (Optional)
- Type: SystemInt32
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
Type:
GpuMatA GpuMat of different shape
See Also