OpenCvSharp.NativeMethods.features2d_BOWImgDescriptorExtractor_new1 C# (CSharp) Method

features2d_BOWImgDescriptorExtractor_new1() private method

private features2d_BOWImgDescriptorExtractor_new1 ( IntPtr dextractor, IntPtr dmatcher ) : IntPtr
dextractor IntPtr
dmatcher IntPtr
return IntPtr
        public static extern IntPtr features2d_BOWImgDescriptorExtractor_new1(IntPtr dextractor, IntPtr dmatcher);
        [DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl)]

Usage Example

コード例 #1
0
 /// <summary>
 /// The constructor.
 /// </summary>
 /// <param name="dextractor">Descriptor extractor that is used to compute descriptors for an input image and its keypoints.</param>
 /// <param name="dmatcher">Descriptor matcher that is used to find the nearest word of the trained vocabulary for each keypoint descriptor of the image.</param>
 public BOWImgDescriptorExtractor(Feature2D dextractor, DescriptorMatcher dmatcher)
 {
     if (dextractor == null)
     {
         throw new ArgumentNullException(nameof(dextractor));
     }
     if (dmatcher == null)
     {
         throw new ArgumentNullException(nameof(dmatcher));
     }
     ptr = NativeMethods.features2d_BOWImgDescriptorExtractor_new1(dextractor.PtrObj, dmatcher.PtrObj);
 }
NativeMethods