Esempio n. 1
0
 /// <summary>
 /// Create a BoxMin filter.
 /// </summary>
 /// <param name="ksize">Size of the kernel</param>
 /// <param name="anchor">The center of the kernel. User (-1, -1) for the default kernel center.</param>
 /// <param name="borderType">The border type.</param>
 /// <param name="borderValue">The border value.</param>
 /// <param name="srcDepth">The depth of the source image</param>
 /// <param name="srcChannels">The number of channels in the source image</param>
 public CudaBoxMinFilter(DepthType srcDepth, int srcChannels, Size ksize, Point anchor, CvEnum.BorderType borderType = BorderType.Default, MCvScalar borderValue = new MCvScalar())
 {
     _ptr = CudaInvoke.cudaCreateBoxMinFilter(CvInvoke.MakeType(srcDepth, srcChannels), ref ksize, ref anchor, borderType, ref borderValue, ref _sharedPtr);
 }