JiawangBian / GMS-Feature-Matcher

GMS: Grid-based Motion Statistics for Fast, Ultra-robust Feature Correspondence (CVPR 17 & IJCV 20)
http://jwbian.net/gms
BSD 3-Clause "New" or "Revised" License
1.09k stars 359 forks source link

GMS在PC机耗时多长? #26

Closed watertianyi closed 4 years ago

watertianyi commented 5 years ago

matches = cv.xfeatures2d.matchGMS(img1.shape, img2.shape, kp1, kp2, matches_all, withRotation=True, withScale=True,thresholdFactor=threshold),这个算子耗时53ms,比单应性耗时还长,是什么回事呢?

JiawangBian commented 5 years ago

因为这个setting放慢了40倍(5倍来自withScale,8倍来自withRotation)。另外,如果用cpp的话应该会更快一点。