features2d_BOWImgDescriptorExtractor_getVocabulary() приватный Метод

private features2d_BOWImgDescriptorExtractor_getVocabulary ( IntPtr obj ) : IntPtr
obj IntPtr
Результат IntPtr
        /// <summary>
        /// Returns the set vocabulary.
        /// </summary>
        /// <returns></returns>
        public Mat GetVocabulary()
        {
            ThrowIfDisposed();
            IntPtr p = NativeMethods.features2d_BOWImgDescriptorExtractor_getVocabulary(ptr);

            return(new Mat(p));
        }
Пример #2
0
 /// <summary>
 /// Returns the set vocabulary.
 /// </summary>
 /// <returns></returns>
 public Mat GetVocabulary()
 {
     ThrowIfDisposed();
     NativeMethods.HandleException(
         NativeMethods.features2d_BOWImgDescriptorExtractor_getVocabulary(ptr, out var p));
     GC.KeepAlive(this);
     return(new Mat(p));
 }
        /// <summary>
        /// Returns the set vocabulary.
        /// </summary>
        /// <returns></returns>
        public Mat GetVocabulary()
        {
            if (IsDisposed)
            {
                throw new ObjectDisposedException(GetType().Name);
            }
            IntPtr p = NativeMethods.features2d_BOWImgDescriptorExtractor_getVocabulary(ptr);

            return(new Mat(p));
        }