By use the getList function of class "Algorithm" we can know which algorithm can invoke.But when I use the latest version of opencv the getList result only have one algorithm "CLANE" The code I use as below:
include <opencv\cv.h>
include <opencv\highgui.h>
include <opencv2\core\core.hpp>
include <vector>
using namespace std;
int main( int argc, char** argv ) { std::vector<cv::string> algorithms; cv::Algorithm::getList(algorithms); cout << "Algorithms: " << (int)algorithms.size() << endl; for (int i=0; i<(int)algorithms.size(); i++) { cout << algorithms[i] << endl; }
getchar();
return 0;
}
Did U got some problems?