/// <summary> /// Apply the cuda filter /// </summary> /// <param name="image">The source CudaImage where the filter will be applied to</param> /// <param name="dst">The destination CudaImage</param> /// <param name="stream">Use a Stream to call the function asynchronously (non-blocking) or null to call the function synchronously (blocking).</param> public void Apply(IInputArray image, IOutputArray dst, Stream stream = null) { using (InputArray iaImage = image.GetInputArray()) using (OutputArray oaDst = dst.GetOutputArray()) CudaInvoke.cudaCornernessCriteriaCompute(SharedPtr, iaImage, oaDst, stream); }