Closed watertianyi closed 4 years ago
matches = cv.xfeatures2d.matchGMS(img1.shape, img2.shape, kp1, kp2, matches_all, withRotation=True, withScale=True,thresholdFactor=threshold),这个算子耗时53ms,比单应性耗时还长,是什么回事呢?
因为这个setting放慢了40倍(5倍来自withScale,8倍来自withRotation)。另外,如果用cpp的话应该会更快一点。
matches = cv.xfeatures2d.matchGMS(img1.shape, img2.shape, kp1, kp2, matches_all, withRotation=True, withScale=True,thresholdFactor=threshold),这个算子耗时53ms,比单应性耗时还长,是什么回事呢?