Пример #1
0
 /// <summary>
 /// Compute the descriptors on the image from the given keypoint locations.
 /// </summary>
 /// <param name="image">The image to compute descriptors from</param>
 /// <param name="keyPoints">The keypoints where the descriptor computation is perfromed</param>
 /// <param name="descriptors">The descriptors from the given keypoints</param>
 public void Compute(IInputArray image, VectorOfKeyPoint keyPoints, IOutputArray descriptors)
 {
     using (InputArray iaImage = image.GetInputArray())
         using (OutputArray oaDescriptors = descriptors.GetOutputArray())
             Features2DInvoke.CvFeature2DCompute(_feature2D, iaImage, keyPoints.Ptr, oaDescriptors);
 }