Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

About how to use getList of class "Algorithm"

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?

About how to use getList of class "Algorithm"

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?

About how to use getList of class "Algorithm"

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> 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?

About how to use getList of class "Algorithm"

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 have the same problems?

About how to use the getList function of class "Algorithm"

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 have the same problems?