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

private features2d_BOWImgDescriptorExtractor_descriptorType ( IntPtr obj ) : int
obj IntPtr
Результат int
 /// <summary>
 /// Returns an image descriptor type.
 /// </summary>
 /// <returns></returns>
 public int DescriptorType()
 {
     if (IsDisposed)
     {
         throw new ObjectDisposedException(GetType().Name);
     }
     return(NativeMethods.features2d_BOWImgDescriptorExtractor_descriptorType(ptr));
 }
        /// <summary>
        /// Returns an image descriptor type.
        /// </summary>
        /// <returns></returns>
        public int DescriptorType()
        {
            ThrowIfDisposed();
            var res = NativeMethods.features2d_BOWImgDescriptorExtractor_descriptorType(ptr);

            GC.KeepAlive(this);
            return(res);
        }
Пример #3
0
 /// <summary>
 /// Returns an image descriptor type.
 /// </summary>
 /// <returns></returns>
 public int DescriptorType()
 {
     ThrowIfDisposed();
     NativeMethods.HandleException(
         NativeMethods.features2d_BOWImgDescriptorExtractor_descriptorType(ptr, out var ret));
     GC.KeepAlive(this);
     return(ret);
 }
 /// <summary>
 /// Returns an image descriptor type.
 /// </summary>
 /// <returns></returns>
 public int DescriptorType()
 {
     ThrowIfDisposed();
     return(NativeMethods.features2d_BOWImgDescriptorExtractor_descriptorType(ptr));
 }