private Reshape ( |
||
src | ||
newCn | int | |
newRows | int | |
return |
/// <summary> /// Changes shape of GpuMat without copying data. /// </summary> /// <param name="newCn">New number of channels. newCn = 0 means that the number of channels remains unchanged.</param> /// <param name="newRows">New number of rows. newRows = 0 means that the number of rows remains unchanged unless it needs to be changed according to newCn value.</param> /// <returns>A GpuMat of different shape</returns> public GpuMat <TDepth> Reshape(int newCn, int newRows) { return(new GpuMat <TDepth>(GpuInvoke.Reshape(_ptr, newCn, newRows))); }