Example #1
0
 /// <summary>
 /// Create a new instance of BestOf2NearestRangeMatcher
 /// </summary>
 /// <param name="rangeWidth">Range width</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>
 /// <param name="numMatchesThresh2">Number of matches threshold</param>
 public BestOf2NearestRangeMatcher(
     int rangeWidth        = 5,
     bool tryUseGpu        = false,
     float matchConf       = 0.3f,
     int numMatchesThresh1 = 6,
     int numMatchesThresh2 = 6)
 {
     _ptr = StitchingInvoke.cveBestOf2NearestRangeMatcherCreate(
         rangeWidth,
         tryUseGpu,
         matchConf,
         numMatchesThresh1,
         numMatchesThresh2,
         ref _featuresMatcherPtr);
 }