#include <core.hpp>
Public Types | |
typedef Algorithm *(* | Constructor) (void) |
typedef int(Algorithm::* | Getter) () const |
typedef void(Algorithm::* | Setter) (int) |
Public Member Functions | |
Algorithm () | |
virtual | ~Algorithm () |
string | name () const |
template<typename _Tp > | |
ParamType< _Tp >::member_type | get (const string &name) const |
template<typename _Tp > | |
ParamType< _Tp >::member_type | get (const char *name) const |
int | getInt (const string &name) const |
double | getDouble (const string &name) const |
bool | getBool (const string &name) const |
string | getString (const string &name) const |
Mat | getMat (const string &name) const |
vector< Mat > | getMatVector (const string &name) const |
Ptr< Algorithm > | getAlgorithm (const string &name) const |
void | set (const string &name, int value) |
void | set (const string &name, double value) |
void | set (const string &name, bool value) |
void | set (const string &name, const string &value) |
void | set (const string &name, const Mat &value) |
void | set (const string &name, const vector< Mat > &value) |
void | set (const string &name, const Ptr< Algorithm > &value) |
template<typename _Tp > | |
void | set (const string &name, const Ptr< _Tp > &value) |
void | setInt (const string &name, int value) |
void | setDouble (const string &name, double value) |
void | setBool (const string &name, bool value) |
void | setString (const string &name, const string &value) |
void | setMat (const string &name, const Mat &value) |
void | setMatVector (const string &name, const vector< Mat > &value) |
void | setAlgorithm (const string &name, const Ptr< Algorithm > &value) |
template<typename _Tp > | |
void | setAlgorithm (const string &name, const Ptr< _Tp > &value) |
void | set (const char *name, int value) |
void | set (const char *name, double value) |
void | set (const char *name, bool value) |
void | set (const char *name, const string &value) |
void | set (const char *name, const Mat &value) |
void | set (const char *name, const vector< Mat > &value) |
void | set (const char *name, const Ptr< Algorithm > &value) |
template<typename _Tp > | |
void | set (const char *name, const Ptr< _Tp > &value) |
void | setInt (const char *name, int value) |
void | setDouble (const char *name, double value) |
void | setBool (const char *name, bool value) |
void | setString (const char *name, const string &value) |
void | setMat (const char *name, const Mat &value) |
void | setMatVector (const char *name, const vector< Mat > &value) |
void | setAlgorithm (const char *name, const Ptr< Algorithm > &value) |
template<typename _Tp > | |
void | setAlgorithm (const char *name, const Ptr< _Tp > &value) |
string | paramHelp (const string &name) const |
int | paramType (const char *name) const |
int | paramType (const string &name) const |
void | getParams (CV_OUT vector< string > &names) const |
virtual void | write (FileStorage &fs) const |
virtual void | read (const FileNode &fn) |
virtual AlgorithmInfo * | info () const |
Static Public Member Functions | |
static void | getList (CV_OUT vector< string > &algorithms) |
static Ptr< Algorithm > | _create (const string &name) |
template<typename _Tp > | |
static Ptr< _Tp > | create (const string &name) |
Base class for high-level OpenCV algorithms
typedef int(Algorithm::* cv::Algorithm::Getter) () const |
cv::Algorithm::Algorithm | ( | ) |
|
virtual |
|
inlinestatic |
|
inline |
|
inline |
bool cv::Algorithm::getBool | ( | const string & | name | ) | const |
double cv::Algorithm::getDouble | ( | const string & | name | ) | const |
int cv::Algorithm::getInt | ( | const string & | name | ) | const |
Mat cv::Algorithm::getMat | ( | const string & | name | ) | const |
vector<Mat> cv::Algorithm::getMatVector | ( | const string & | name | ) | const |
string cv::Algorithm::getString | ( | const string & | name | ) | const |
|
inlinevirtual |
Reimplemented in cv::FlannBasedMatcher, cv::BFMatcher, cv::BriefDescriptorExtractor, cv::GridAdaptedFeatureDetector, cv::DenseFeatureDetector, cv::SimpleBlobDetector, cv::EM, cv::GFTTDetector, cv::FastFeatureDetector, cv::StarDetector, cv::MSER, cv::FREAK, cv::ORB, cv::BRISK, cv::BackgroundSubtractorGMG, cv::BackgroundSubtractorMOG2, cv::SURF, cv::ocl::SURF_OCL, cv::BackgroundSubtractorMOG, and cv::SIFT.
string cv::Algorithm::name | ( | ) | const |
string cv::Algorithm::paramHelp | ( | const string & | name | ) | const |
int cv::Algorithm::paramType | ( | const char * | name | ) | const |
int cv::Algorithm::paramType | ( | const string & | name | ) | const |
void cv::Algorithm::set | ( | const string & | name, |
double | value | ||
) |
void cv::Algorithm::set | ( | const string & | name, |
bool | value | ||
) |
void cv::Algorithm::set | ( | const string & | name, |
const string & | value | ||
) |
|
inline |
void cv::Algorithm::set | ( | const char * | name, |
double | value | ||
) |
void cv::Algorithm::set | ( | const char * | name, |
bool | value | ||
) |
void cv::Algorithm::set | ( | const char * | name, |
const string & | value | ||
) |
|
inline |
|
inline |
|
inline |
void cv::Algorithm::setBool | ( | const string & | name, |
bool | value | ||
) |
void cv::Algorithm::setBool | ( | const char * | name, |
bool | value | ||
) |
void cv::Algorithm::setDouble | ( | const string & | name, |
double | value | ||
) |
void cv::Algorithm::setDouble | ( | const char * | name, |
double | value | ||
) |
void cv::Algorithm::setString | ( | const string & | name, |
const string & | value | ||
) |
void cv::Algorithm::setString | ( | const char * | name, |
const string & | value | ||
) |
|
virtual |