features2d_BOWTrainer_descriptorsCount() private method

private features2d_BOWTrainer_descriptorsCount ( IntPtr obj ) : int
obj IntPtr
return int
示例#1
0
 /// <summary>
 /// Returns the count of all descriptors stored in the training set.
 /// </summary>
 /// <returns></returns>
 public int DescriptorsCount()
 {
     NativeMethods.HandleException(
         NativeMethods.features2d_BOWTrainer_descriptorsCount(ptr, out var ret));
     GC.KeepAlive(this);
     return(ret);
 }
        /// <summary>
        /// Returns the count of all descriptors stored in the training set.
        /// </summary>
        /// <returns></returns>
        public int DescriptorsCount()
        {
            var res = NativeMethods.features2d_BOWTrainer_descriptorsCount(ptr);

            GC.KeepAlive(this);
            return(res);
        }
示例#3
0
 /// <summary>
 /// Returns the count of all descriptors stored in the training set.
 /// </summary>
 /// <returns></returns>
 public int DescriptorsCount()
 {
     return(NativeMethods.features2d_BOWTrainer_descriptorsCount(ptr));
 }