设为首页 加入收藏

TOP

关于OpenCV3.0 beta 编译出现ORB那边的错误的解决(二)
2015-02-02 14:10:00 来源: 作者: 【 】 浏览:130
Tags:关于 OpenCV3.0 beta 编译 出现 ORB 那边 错误 解决
tLevel(int firstLevel_) { firstLevel = firstLevel_; }?
? ? int getFirstLevel() const { return firstLevel; }?
?
? ? void setWTA_K(int wta_k_) { wta_k = wta_k_; }?
? ? int getWTA_K() const { return wta_k; }?
?
? ? void setScoreType(int scoreType_) { scoreType = scoreType_; }?
? ? int getScoreType() const { return scoreType; }?
?
? ? void setPatchSize(int patchSize_) { patchSize = patchSize_; }?
? ? int getPatchSize() const { return patchSize; }?
?
? ? void setFastThreshold(int fastThreshold_) { fastThreshold = fastThreshold_; }?
? ? int getFastThreshold() const { return fastThreshold; }?
?
? ? // returns the descriptor size in bytes?
? ? int descriptorSize() const;?
? ? // returns the descriptor type?
? ? int descriptorType() const;?
? ? // returns the default norm type?
? ? int defaultNorm() const;?
?
? ? // Compute the ORB_Impl features and descriptors on an image?
? ? void detectAndCompute( InputArray image, InputArray mask, std::vector& keypoints,?
? ? ? ? ? ? ? ? ? ? OutputArray descriptors, bool useProvidedKeypoints=false );
?
?
protected:?
?
? ? int nfeatures;?
? ? double scaleFactor;?
? ? int nlevels;?
? ? int edgeThreshold;?
? ? int firstLevel;?
? ? int wta_k;?
? ? int scoreType;?
? ? int patchSize;?
? ? int fastThreshold;?
};? ?


希望有人遇到这样的问题的时候,能够得到解答。



此外还有就是使用最新的cuda6.5的时候一定要在gui的cmake 中


将CUDA_ARCH_BIN 设置为2.0 2.1(2.0) 3.0 3.5


不要带1.1 .1.2 1.3等等之类的,因为cuda6.5不支持这些老显卡了。


--------------------------------------分割线 --------------------------------------


--------------------------------------分割线 --------------------------------------


首页 上一页 1 2 下一页 尾页 2/2/2
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇Rails项目如何改变已建立的model.. 下一篇Android中处理Touch Icon的方案

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容: