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