예제 #1
0
 /// <summary>
 /// Release all the unmanaged memory associated with this optical flow solver.
 /// </summary>
 protected override void DisposeObject()
 {
     if (_ptr != IntPtr.Zero)
     {
         CudaInvoke.cudaBroxOpticalFlowRelease(ref _ptr);
         _denseFlow = IntPtr.Zero;
     }
 }
예제 #2
0
 /// <summary>
 /// Release all the unmanaged memory associated with this optical flow solver.
 /// </summary>
 protected override void DisposeObject()
 {
     CudaInvoke.cudaBroxOpticalFlowRelease(ref _ptr);
 }