
非常感谢你提前!
解决方法 以下是我在OpenCV 3 C中使用密集SIFT的方法:SiftDescriptorExtractor sift;vector<KeyPoint> keypoints; // keypoint storageMat descriptors; // descriptor storage// manual keypoint grIDint step = 10; // 10 pixels spacing between kp'sfor (int y=step; y<img.rows-step; y+=step){ for (int x=step; x<img.cols-step; x+=step){ // x,y,radius keypoints.push_back(KeyPoint(float(x),float(y),float(step))); }}// compute descriptorssift.compute(img,keypoints,descriptors); 复制自:
http://answers.opencv.org/question/73165/compute-dense-sift-features-in-opencv-30/?answer=73178#post-id-73178
似乎运作良好
总结以上是内存溢出为你收集整理的c – 在OpenCV 3.0中计算密集SIFT功能全部内容,希望文章能够帮你解决c – 在OpenCV 3.0中计算密集SIFT功能所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)