我正在尝试运行一个可以在图像中检测特征的应用程序,但是当我运行代码以检测BRISK
特征、BRIEF
描述符和FlannBased
匹配器时,它会崩溃并显示以下信息:
OpenCV Error: Unsupported format or combination of formats (type=0
) in buildIndex_, file /home/stefan/git_repos/opencv/modules/flann/src/miniflann.cpp, line 315
terminate called after throwing an instance of 'cv::Exception'
what(): /home/stefan/git_repos/opencv/modules/flann/src/miniflann.cpp:315: error: (-210) type=0
in function buildIndex_
Aborted (core dumped)
有任何想法是为什么吗?