Ejemplo n.º 1
0
 /// <summary>
 /// Create a new features matcher
 /// </summary>
 /// <param name="fullAffine">Full Affine</param>
 /// <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>
 public AffineBestOf2NearestMatcher(
     bool fullAffine       = false,
     bool tryUseGpu        = false,
     float matchConf       = 0.3f,
     int numMatchesThresh1 = 6)
 {
     _ptr = StitchingInvoke.cveAffineBestOf2NearestMatcherCreate(
         fullAffine,
         tryUseGpu,
         matchConf,
         numMatchesThresh1,
         ref _featuresMatcherPtr);
 }