/// <summary> /// /// </summary> private DualTVL1OpticalFlow() { detectorPtr = null; ptr = IntPtr.Zero; }
/// <summary> /// Creates instance by cv::Ptr<T> /// </summary> internal BFMatcher(Ptr detectorPtr) { this.detectorPtr = detectorPtr; this.ptr = detectorPtr.Get(); }
private static IntPtr GetEntityPointer(IntPtr ptrObjPtr, out Ptr ptrObj) { ptrObj = new Ptr(ptrObjPtr); return(ptrObj.Get()); }
/// <summary> /// Releases managed resources /// </summary> protected override void DisposeManaged() { objectPtr?.Dispose(); objectPtr = null; base.DisposeManaged(); }
internal BackgroundSubtractorMOG(IntPtr ptr) { this.objectPtr = new Ptr <BackgroundSubtractorMOG>(ptr); this.ptr = ptr; }
/// <summary> /// Releases managed resources /// </summary> protected override void DisposeManaged() { ptrObj?.Dispose(); ptrObj = null; base.DisposeManaged(); }
/// <summary> /// /// </summary> /// <param name="p"></param> protected BRISK(IntPtr p) : base() { ptrObj = new Ptr(p); ptr = ptrObj.Get(); }
/// <summary> /// constructor /// </summary> protected StereoBM(IntPtr ptr) : base(ptr) { ptrObj = new Ptr(ptr); }
/// <summary> /// /// </summary> protected SimpleBlobDetector(IntPtr p) { ptrObj = new Ptr(p); ptr = ptrObj.Get(); }
/// <summary> /// Creates instance by raw pointer T* /// </summary> internal FlannBasedMatcher(IntPtr rawPtr) { detectorPtr = null; ptr = rawPtr; }
/// <summary> /// /// </summary> /// <param name="p"></param> protected GFTTDetector(IntPtr p) { ptrObj = new Ptr <GFTTDetector>(p); ptr = ptrObj.Get(); }
/// <summary> /// Creates instance by cv::Ptr<T> /// </summary> internal FlannBasedMatcher(Ptr <FlannBasedMatcher> detectorPtr) { this.detectorPtr = detectorPtr; this.ptr = detectorPtr.Get(); }
// ReSharper restore InconsistentNaming #pragma warning restore 1591 #endregion #region Init and Disposal /// <summary> /// Creates instance by raw pointer cv::ml::EM* /// </summary> protected EM(IntPtr p) { ptrObj = new Ptr <EM>(p); ptr = ptrObj.Get(); }
/// <summary> /// /// </summary> private DenseOpticalFlowImpl() { detectorPtr = null; ptr = IntPtr.Zero; }
/// <summary> /// Releases managed resources /// </summary> protected override void DisposeManaged() { detectorPtr.Dispose(); detectorPtr = null; base.DisposeManaged(); }
/// <summary> /// /// </summary> internal AKAZE(Ptr <AKAZE> p) : base(p.Get()) { ptrObj = p; }
//internal override IntPtr PtrObj => ptrObj.CvPtr; #region Init & Disposal /// <summary> /// /// </summary> protected KAZE(IntPtr p) { ptrObj = new Ptr(p); ptr = ptrObj.Get(); }
internal BackgroundSubtractorKNN(IntPtr ptr) { this.objectPtr = new Ptr(ptr); this.ptr = objectPtr.Get(); }
/// <summary> /// /// </summary> private SuperResolutionImpl() { detectorPtr = null; ptr = IntPtr.Zero; }
/// <summary> /// /// </summary> protected FastFeatureDetector(IntPtr ptr) { ptrObj = new Ptr <FastFeatureDetector>(ptr); ptr = ptrObj.Get(); }