features2d_BOWImgDescriptorExtractor_getVocabulary() private method

private features2d_BOWImgDescriptorExtractor_getVocabulary ( IntPtr obj ) : IntPtr
obj IntPtr
return IntPtr
コード例 #1
0
        /// <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));
 }
コード例 #3
0
        /// <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));
        }