/// <summary>
 /// Release all the unmanaged memory associate with this Canny edge detector.
 /// </summary>
 protected override void DisposeObject()
 {
     if (_ptr != IntPtr.Zero)
     {
         CudaInvoke.cudaCannyEdgeDetectorRelease(ref _ptr);
     }
 }