/// <summary> /// /// </summary> /// <param name="parent"></param> protected internal RowIndexer(GpuMat parent) : base(parent) { }
/// <summary> /// /// </summary> /// <param name="m"></param> public void AssignTo(GpuMat m) { NativeMethods.GpuMat_assignTo(ptr, m.CvPtr, -1); }
internal Indexer(GpuMat parent) : base(parent) { ptrVal = parent.Data.ToInt64(); }
/// <summary> /// /// </summary> /// <param name="m"></param> public void AssignTo(GpuMat m) { ThrowIfDisposed(); NativeMethods.gpu_GpuMat_assignTo(ptr, m.CvPtr, -1); }
/// <summary> /// Acts as a synonym for the normalized box filter. /// </summary> /// <param name="src">Input image. CV_8UC1 and CV_8UC4 source types are supported.</param> /// <param name="dst">Output image type. The size and type is the same as src.</param> /// <param name="ksize">Kernel size.</param> /// <param name="anchor">Anchor point. The default value Point(-1, -1) means that /// the anchor is at the kernel center.</param> /// <param name="stream">Stream for the asynchronous version.</param> public static void Blur(GpuMat src, GpuMat dst, Size ksize, Point?anchor, Stream stream = null) { BoxFilter(src, dst, -1, ksize, anchor, stream); }
/// <summary> /// Ensures that size of the given matrix is not less than (rows, cols) size /// and matrix type is match specified one too /// </summary> /// <param name="size">Number of rows and columns in a 2D array.</param> /// <param name="type">Array type.</param> /// <param name="m"></param> public static void EnsureSizeIsEnough(Size size, MatType type, GpuMat m) { ThrowIfGpuNotAvailable(); EnsureSizeIsEnough(size.Height, size.Width, type, m); }
/// <summary> /// Creates continuous GPU matrix /// </summary> /// <param name="size">Number of rows and columns in a 2D array.</param> /// <param name="type">Array type.</param> /// <param name="m"></param> public static void CreateContinuous(Size size, MatType type, GpuMat m) { ThrowIfGpuNotAvailable(); CreateContinuous(size.Height, size.Width, type, m); }