features2d_BOWImgDescriptorExtractor_new2() private method

private features2d_BOWImgDescriptorExtractor_new2 ( IntPtr dmatcher ) : IntPtr
dmatcher IntPtr
return IntPtr
コード例 #1
0
 /// <summary>
 /// The constructor.
 /// </summary>
 /// <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(DescriptorMatcher dmatcher)
 {
     if (dmatcher == null)
     {
         throw new ArgumentNullException(nameof(dmatcher));
     }
     ptr = NativeMethods.features2d_BOWImgDescriptorExtractor_new2(dmatcher.PtrObj);
 }