Example #1
0
 /// <summary>
 /// Create a new features matcher
 /// </summary>
 /// <param name="tryUseGpu">If true, will try to use gpu.</param>
 /// <param name="matchConf">Match confident</param>
 /// <param name="numMatchesThresh1">Number of matches threshold</param>
 /// <param name="numMatchesThresh2">Number of matches threshold</param>
 public BestOf2NearestMatcher(
     bool tryUseGpu        = false,
     float matchConf       = 0.3f,
     int numMatchesThresh1 = 6,
     int numMatchesThresh2 = 6)
 {
     _ptr = StitchingInvoke.cveBestOf2NearestMatcherCreate(
         tryUseGpu,
         matchConf,
         numMatchesThresh1,
         numMatchesThresh2,
         ref _featuresMatcherPtr);
 }