Example #1
0
 /// <summary>
 /// Create a umat header for the specific ROI
 /// </summary>
 /// <param name="umat">The umat where the new UMat header will share data from</param>
 /// <param name="rowRange">The region of interest</param>
 /// <param name="colRange">The region of interest</param>
 public UMat(UMat umat, Range rowRange, Range colRange)
     : this(UMatInvoke.cveUMatCreateFromRange(umat.Ptr, ref rowRange, ref colRange), true)
 {
 }
Example #2
0
 /// <summary>
 /// Create a umat header for the specific ROI
 /// </summary>
 /// <param name="umat">The umat where the new UMat header will share data from</param>
 /// <param name="rowRange">The region of interest</param>
 /// <param name="colRange">The region of interest</param>
 public UMat(UMat umat, Emgu.CV.Structure.Range rowRange, Emgu.CV.Structure.Range colRange)
     : this(UMatInvoke.cveUMatCreateFromRange(umat.Ptr, ref rowRange, ref colRange), true)
 {
 }