OpenCV  2.4.13.2
Open Source Computer Vision
cv::Algorithm Class Reference

#include <core.hpp>

Inheritance diagram for cv::Algorithm:
cv::BackgroundSubtractor cv::CLAHE cv::DenseOpticalFlow cv::DescriptorExtractor cv::DescriptorMatcher cv::EM cv::FaceRecognizer cv::FeatureDetector cv::GeneralizedHough cv::gpu::GeneralizedHough_GPU cv::superres::DenseOpticalFlowExt cv::superres::SuperResolution

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< MatgetMatVector (const string &name) const
 
Ptr< AlgorithmgetAlgorithm (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 AlgorithmInfoinfo () 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)
 

Detailed Description

Base class for high-level OpenCV algorithms

Member Typedef Documentation

§ Constructor

typedef Algorithm*(* cv::Algorithm::Constructor) (void)

§ Getter

typedef int(Algorithm::* cv::Algorithm::Getter) () const

§ Setter

typedef void(Algorithm::* cv::Algorithm::Setter) (int)

Constructor & Destructor Documentation

§ Algorithm()

cv::Algorithm::Algorithm ( )

§ ~Algorithm()

virtual cv::Algorithm::~Algorithm ( )
virtual

Member Function Documentation

§ _create()

static Ptr<Algorithm> cv::Algorithm::_create ( const string &  name)
static

§ create()

template<typename _Tp >
Ptr< _Tp > cv::Algorithm::create ( const string &  name)
inlinestatic

§ get() [1/2]

template<typename _Tp >
ParamType< _Tp >::member_type cv::Algorithm::get ( const string &  name) const
inline

§ get() [2/2]

template<typename _Tp >
ParamType< _Tp >::member_type cv::Algorithm::get ( const char *  name) const
inline

§ getAlgorithm()

Ptr<Algorithm> cv::Algorithm::getAlgorithm ( const string &  name) const

§ getBool()

bool cv::Algorithm::getBool ( const string &  name) const

§ getDouble()

double cv::Algorithm::getDouble ( const string &  name) const

§ getInt()

int cv::Algorithm::getInt ( const string &  name) const

§ getList()

static void cv::Algorithm::getList ( CV_OUT vector< string > &  algorithms)
static

§ getMat()

Mat cv::Algorithm::getMat ( const string &  name) const

§ getMatVector()

vector<Mat> cv::Algorithm::getMatVector ( const string &  name) const

§ getParams()

void cv::Algorithm::getParams ( CV_OUT vector< string > &  names) const

§ getString()

string cv::Algorithm::getString ( const string &  name) const

§ info()

§ name()

string cv::Algorithm::name ( ) const

§ paramHelp()

string cv::Algorithm::paramHelp ( const string &  name) const

§ paramType() [1/2]

int cv::Algorithm::paramType ( const char *  name) const

§ paramType() [2/2]

int cv::Algorithm::paramType ( const string &  name) const

§ read()

§ set() [1/16]

void cv::Algorithm::set ( const string &  name,
int  value 
)

§ set() [2/16]

void cv::Algorithm::set ( const string &  name,
double  value 
)

§ set() [3/16]

void cv::Algorithm::set ( const string &  name,
bool  value 
)

§ set() [4/16]

void cv::Algorithm::set ( const string &  name,
const string &  value 
)

§ set() [5/16]

void cv::Algorithm::set ( const string &  name,
const Mat value 
)

§ set() [6/16]

void cv::Algorithm::set ( const string &  name,
const vector< Mat > &  value 
)

§ set() [7/16]

void cv::Algorithm::set ( const string &  name,
const Ptr< Algorithm > &  value 
)

§ set() [8/16]

template<typename _Tp >
void cv::Algorithm::set ( const string &  name,
const Ptr< _Tp > &  value 
)
inline

§ set() [9/16]

void cv::Algorithm::set ( const char *  name,
int  value 
)

§ set() [10/16]

void cv::Algorithm::set ( const char *  name,
double  value 
)

§ set() [11/16]

void cv::Algorithm::set ( const char *  name,
bool  value 
)

§ set() [12/16]

void cv::Algorithm::set ( const char *  name,
const string &  value 
)

§ set() [13/16]

void cv::Algorithm::set ( const char *  name,
const Mat value 
)

§ set() [14/16]

void cv::Algorithm::set ( const char *  name,
const vector< Mat > &  value 
)

§ set() [15/16]

void cv::Algorithm::set ( const char *  name,
const Ptr< Algorithm > &  value 
)

§ set() [16/16]

template<typename _Tp >
void cv::Algorithm::set ( const char *  name,
const Ptr< _Tp > &  value 
)
inline

§ setAlgorithm() [1/4]

void cv::Algorithm::setAlgorithm ( const string &  name,
const Ptr< Algorithm > &  value 
)

§ setAlgorithm() [2/4]

template<typename _Tp >
void cv::Algorithm::setAlgorithm ( const string &  name,
const Ptr< _Tp > &  value 
)
inline

§ setAlgorithm() [3/4]

void cv::Algorithm::setAlgorithm ( const char *  name,
const Ptr< Algorithm > &  value 
)

§ setAlgorithm() [4/4]

template<typename _Tp >
void cv::Algorithm::setAlgorithm ( const char *  name,
const Ptr< _Tp > &  value 
)
inline

§ setBool() [1/2]

void cv::Algorithm::setBool ( const string &  name,
bool  value 
)

§ setBool() [2/2]

void cv::Algorithm::setBool ( const char *  name,
bool  value 
)

§ setDouble() [1/2]

void cv::Algorithm::setDouble ( const string &  name,
double  value 
)

§ setDouble() [2/2]

void cv::Algorithm::setDouble ( const char *  name,
double  value 
)

§ setInt() [1/2]

void cv::Algorithm::setInt ( const string &  name,
int  value 
)

§ setInt() [2/2]

void cv::Algorithm::setInt ( const char *  name,
int  value 
)

§ setMat() [1/2]

void cv::Algorithm::setMat ( const string &  name,
const Mat value 
)

§ setMat() [2/2]

void cv::Algorithm::setMat ( const char *  name,
const Mat value 
)

§ setMatVector() [1/2]

void cv::Algorithm::setMatVector ( const string &  name,
const vector< Mat > &  value 
)

§ setMatVector() [2/2]

void cv::Algorithm::setMatVector ( const char *  name,
const vector< Mat > &  value 
)

§ setString() [1/2]

void cv::Algorithm::setString ( const string &  name,
const string &  value 
)

§ setString() [2/2]

void cv::Algorithm::setString ( const char *  name,
const string &  value 
)

§ write()


The documentation for this class was generated from the following files: