/// <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; } }
/// <summary> /// Release all the unmanaged memory associated with this optical flow solver. /// </summary> protected override void DisposeObject() { CudaInvoke.cudaBroxOpticalFlowRelease(ref _ptr); }