http://www.emgu.com
Changes shape of GpuMat without copying data.
Namespace:
Emgu.CV.Cuda
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.0.3408 (4.1.0.3408)
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