/// <summary>
 /// Release all the unmanaged memory associated with this gpu filter
 /// </summary>
 protected override void DisposeObject()
 {
     if (_ptr != IntPtr.Zero)
     {
         CudaInvoke.cudaCornernessCriteriaRelease(ref _ptr);
     }
 }