/// <summary> /// Release the unmanaged memory associated with this detector. /// </summary> protected override void DisposeObject() { if (_sharedPtr != IntPtr.Zero) { Features2DInvoke.cveFASTFeatureDetectorRelease(ref _sharedPtr); } base.DisposeObject(); }