OpenCV提供FeatureDetector实现特征检测及匹配
class CV_EXPORTS FeatureDetector
{
public:
virtual ~FeatureDetector();
void detect( const Mat& image, vector<KeyPoint>& keypoints,
const Mat& mask=Mat() ) const;
void detect( const vector<Mat>& images,
vector<vector<KeyPoint> >& keypoints,
const vector<Mat>& masks=vector<Mat>() ) const;
virtual void read(const FileNode&);
virtual void write(FileStorage&) const;
static Ptr<FeatureDetector> create( const string& detectorType );
protected:
...
};
FeatureDetetor是虚类,通过定义FeatureDetector的对象可以使用多种特征检测方法。通过create()函数调用:
Ptr<FeatureDetector> FeatureDetector::create(const string& detectorType);
OpenCV 2.4.3提供了10种特征检测方法:
- "FAST" – FastFeatureDetector
- "STAR" – StarFeatureDetector
- "SIFT" – SIFT (nonfree module)
- "SURF" – SURF (nonfree module)
- "ORB" – ORB
- "MSER" – MSER
- "GFTT" – GoodFeaturesToTrackDetector
- "HARRIS" – GoodFeaturesToTrackDetector with
OpenCV特征检测器及检测方法介绍

本文介绍了OpenCV库中的FeatureDetector模块,用于实现图像特征的检测和匹配。内容包括OpenCV 2.4.3提供的10种特征检测算法:FAST, STAR, SIFT, SURF, ORB, MSER, GFTT, HARRIS, Dense和SimpleBlob。这些方法在计算机视觉应用中有着广泛的应用。"
4494313,615856,Oracle 调用 DLL 故障排查指南,"['数据库', 'Oracle', 'DLL调用', '错误处理']
最低0.47元/天 解锁文章
313

被折叠的 条评论
为什么被折叠?



