コード例 #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);
 }