使用detail->SurfFeaturesFinder,需要什么头文件或者申明吗
时间: 2023-06-09 14:06:47 浏览: 44
感谢您的提问。关于使用detail->SurfFeaturesFinder,需要包含以下头文件:
#include <opencv2/nonfree/features2d.hpp>
#include <opencv2/legacy/legacy.hpp>
相关问题
使用SurfFeatureDetector需要什么头文件或者申明
使用SurfFeatureDetector需要以下头文件和命名空间申明:
```c++
#include <opencv2/features2d.hpp>
using namespace cv;
```
tableView->setPageSize(10);需要什么头文件
该代码使用了 Qt 中的 QAbstractItemView 类的成员函数 setPageSize(),因此需要包含 QAbstractItemView 头文件。可以在代码文件中添加以下头文件:
```cpp
#include <QAbstractItemView>
```
这样就可以使用 QAbstractItemView 的相关成员函数了。