示例#1
0
 /// <summary>
 /// Create a Cuda Harris Corner detector
 /// </summary>
 /// <param name="srcDepth">The depth of the source image</param>
 /// <param name="srcChannels">The number of channels in the source image</param>
 /// <param name="blockSize">Neighborhood size.</param>
 /// <param name="kSize">Kernel size</param>
 /// <param name="k">Harris detector free parameter.</param>
 /// <param name="borderType">Border type.</param>
 public CudaHarrisCorner(
     DepthType srcDepth,
     int srcChannels,
     int blockSize,
     int kSize,
     double k,
     CvEnum.BorderType borderType = BorderType.Default)
 {
     _ptr = CudaInvoke.cudaCreateHarrisCorner(CvInvoke.MakeType(srcDepth, srcChannels), blockSize, kSize, k, borderType, ref _sharedPtr);
 }