/// <summary> /// Detect keypoints in the CudaImage /// </summary> /// <param name="img">The image where keypoints will be detected from</param> /// <param name="mask">The optional mask, can be null if not needed</param> /// <returns> /// The keypoints GpuMat that will have 1 row. /// keypoints.at<float[6]>(1, i) contains i'th keypoint /// format: (x, y, size, response, angle, octave) /// </returns> public GpuMat DetectKeyPointsRaw(GpuMat img, GpuMat mask = null) { GpuMat result = new GpuMat(); ContribInvoke.cudaSURFDetectorDetectKeyPoints(_ptr, img, mask, result); return(result); }