internal static extern IntPtr cudaTemplateMatchingCreate(int srcType, CvEnum.TemplateMatchingType method, ref Size blockSize);
 /// <summary>
 /// Create a Cuda template matching filter
 /// </summary>
 /// <param name="method">Specifies the way the template must be compared with image regions </param>
 /// <param name="blockSize">The block size</param>
 public CudaTemplateMatching(DepthType depthType, int channels, CvEnum.TemplateMatchingType method, Size blockSize = new Size())
 {
     _ptr = CudaInvoke.cudaTemplateMatchingCreate(CvInvoke.MakeType(depthType, channels), method, ref blockSize);
 }