【发布时间】:2012-06-20 22:18:53
【问题描述】:
基本上你必须先做一个:
SurfFeatureDetector surf(400);
surf.detect(image1, keypoints1);
然后是:
surfDesc.compute(image1, keypoints1, descriptors1);
为什么检测和计算是两种不同的操作?
检测后做计算不会产生冗余循环?
我发现.compute 在我的应用程序中是最昂贵的。
.detect
在 0.2 秒内完成
.compute
需要 ~1 秒。有什么办法可以加速.compute ?
【问题讨论】: