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不支持这些老显卡了。
--------------------------------------分割线 --------------------------------------
--------------------------------------分割线 --------------------------------------