Reshape() private method

private Reshape ( IntPtr src, int newCn, int newRows ) : IntPtr
src System.IntPtr
newCn int
newRows int
return System.IntPtr
Example #1
0
 /// <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)));
 }