mexopencv  3.4.1
MEX interface for OpenCV library
Classes | Functions | Variables
anonymous_namespace{SVM_.cpp} Namespace Reference

Classes

class  MatlabFunction
 Represents custom kernel implemented as a MATLAB function. More...
 

Functions

ParamGrid toParamGrid (const MxArray &m)
 Obtain ParamGrid object from MxArray. More...
 

Variables

int last_id = 0
 Last object id to allocate. More...
 
map< int, Ptr< SVM > > obj_
 Object container. More...
 
const ConstMap< string, int > SVMType
 Option values for SVM types. More...
 
const ConstMap< int, stringInvSVMType
 Option values for inverse SVM types. More...
 
const ConstMap< string, int > SVMKernelType
 Option values for SVM Kernel types. More...
 
const ConstMap< int, stringInvSVMKernelType
 Option values for inverse SVM Kernel types. More...
 
const ConstMap< string, int > SVMParamType
 Option values for SVM params grid types. More...
 

Function Documentation

◆ toParamGrid()

ParamGrid anonymous_namespace{SVM_.cpp}::toParamGrid ( const MxArray m)

Obtain ParamGrid object from MxArray.

Parameters
mMxArray object
Returns
ParamGrid objects

Definition at line 71 of file SVM_.cpp.

Variable Documentation

◆ InvSVMKernelType

const ConstMap<int,string> anonymous_namespace{SVM_.cpp}::InvSVMKernelType
Initial value:
(cv::ml::SVM::CUSTOM, "Custom")
(cv::ml::SVM::LINEAR, "Linear")
(cv::ml::SVM::SIGMOID, "Sigmoid")
(cv::ml::SVM::INTER, "Intersection")
std::map wrapper with one-line initialization and lookup method.
Definition: MxArray.hpp:927

Option values for inverse SVM Kernel types.

Definition at line 49 of file SVM_.cpp.

◆ InvSVMType

const ConstMap<int,string> anonymous_namespace{SVM_.cpp}::InvSVMType
Initial value:
(cv::ml::SVM::C_SVC, "C_SVC")
(cv::ml::SVM::NU_SVC, "NU_SVC")
(cv::ml::SVM::ONE_CLASS, "ONE_CLASS")
(cv::ml::SVM::EPS_SVR, "EPS_SVR")
(cv::ml::SVM::NU_SVR, "NU_SVR")
std::map wrapper with one-line initialization and lookup method.
Definition: MxArray.hpp:927

Option values for inverse SVM types.

Definition at line 31 of file SVM_.cpp.

◆ last_id

int anonymous_namespace{SVM_.cpp}::last_id = 0

Last object id to allocate.

Definition at line 18 of file SVM_.cpp.

◆ obj_

map<int,Ptr<SVM> > anonymous_namespace{SVM_.cpp}::obj_

Object container.

Definition at line 20 of file SVM_.cpp.

◆ SVMKernelType

const ConstMap<string,int> anonymous_namespace{SVM_.cpp}::SVMKernelType
Initial value:
("Custom", cv::ml::SVM::CUSTOM)
("Linear", cv::ml::SVM::LINEAR)
("Sigmoid", cv::ml::SVM::SIGMOID)
("Intersection", cv::ml::SVM::INTER)
std::map wrapper with one-line initialization and lookup method.
Definition: MxArray.hpp:927

Option values for SVM Kernel types.

Definition at line 39 of file SVM_.cpp.

◆ SVMParamType

const ConstMap<string,int> anonymous_namespace{SVM_.cpp}::SVMParamType
Initial value:
("Gamma", cv::ml::SVM::GAMMA)
("Degree", cv::ml::SVM::DEGREE)
std::map wrapper with one-line initialization and lookup method.
Definition: MxArray.hpp:927

Option values for SVM params grid types.

Definition at line 59 of file SVM_.cpp.

◆ SVMType

const ConstMap<string,int> anonymous_namespace{SVM_.cpp}::SVMType
Initial value:
("C_SVC", cv::ml::SVM::C_SVC)
("NU_SVC", cv::ml::SVM::NU_SVC)
("ONE_CLASS", cv::ml::SVM::ONE_CLASS)
("EPS_SVR", cv::ml::SVM::EPS_SVR)
("NU_SVR", cv::ml::SVM::NU_SVR)
std::map wrapper with one-line initialization and lookup method.
Definition: MxArray.hpp:927

Option values for SVM types.

Definition at line 23 of file SVM_.cpp.