Esempio n. 1
0
 /// <summary>
 /// Create a CudaImage from the specific region of <paramref name="image"/>. The data is shared between the two CudaImage
 /// </summary>
 /// <param name="image">The CudaImage where the region is extracted from</param>
 /// <param name="colRange">The column range. Use MCvSlice.WholeSeq for all columns.</param>
 /// <param name="rowRange">The row range. Use MCvSlice.WholeSeq for all rows.</param>
 public CudaImage(CudaImage <TColor, TDepth> image, Range rowRange, Range colRange)
     : this(CudaInvoke.GetRegion(image, ref rowRange, ref colRange), true)
 {
 }
Esempio n. 2
0
 /// <summary>
 /// Create a GpuMat from the specific region of <paramref name="mat"/>. The data is shared between the two GpuMat
 /// </summary>
 /// <param name="mat">The matrix where the region is extracted from</param>
 /// <param name="colRange">The column range.</param>
 /// <param name="rowRange">The row range.</param>
 public GpuMat(GpuMat mat, Range rowRange, Range colRange)
     : this(CudaInvoke.GetRegion(mat, ref rowRange, ref colRange), true)
 {
 }
Esempio n. 3
0
 /// <summary>
 /// Create a GpuMat from the specific region of <paramref name="mat"/>. The data is shared between the two GpuMat
 /// </summary>
 /// <param name="mat">The matrix where the region is extracted from</param>
 /// <param name="colRange">The column range.</param>
 /// <param name="rowRange">The row range.</param>
 public GpuMat(GpuMat mat, Emgu.CV.Structure.Range rowRange, Emgu.CV.Structure.Range colRange)
     : this(CudaInvoke.GetRegion(mat, ref rowRange, ref colRange), true)
 {
 }