![]() |
OpenCV 4.12.0
开源计算机视觉
|
#include <opencv2/ml.hpp>
公共成员函数 | |
| virtual void | calc (int vcount, int n, const float *vecs, const float *another, float *results)=0 |
| virtual int | getType () const =0 |
从 cv::Algorithm 继承的公共成员函数 | |
| Algorithm () | |
| virtual | ~Algorithm () |
| virtual void | clear () |
| 清除算法状态。 | |
| virtual bool | empty () const |
| 如果 Algorithm 为空(例如,在开始时或读取失败后),则返回 true。 | |
| virtual String | getDefaultName () const |
| virtual void | read (const FileNode &fn) |
| 从文件存储中读取算法参数。 | |
| virtual void | save (const String &filename) const |
| void | write (const Ptr< FileStorage > &fs, const String &name=String()) const |
| virtual void | write (FileStorage &fs) const |
| 将算法参数存储到文件存储中。 | |
| void | write (FileStorage &fs, const String &name) const |
额外继承的成员 | |
从 cv::Algorithm 继承的静态公共成员函数 | |
| template<typename _Tp > | |
| static Ptr< _Tp > | load (const String &filename, const String &objname=String()) |
| 从文件中加载算法。 | |
| template<typename _Tp > | |
| static Ptr< _Tp > | loadFromString (const String &strModel, const String &objname=String()) |
| 从字符串加载算法。 | |
| template<typename _Tp > | |
| static Ptr< _Tp > | read (const FileNode &fn) |
| 从文件节点读取算法。 | |
从 cv::Algorithm 继承的保护成员函数 | |
| void | writeFormat (FileStorage &fs) const |
|
纯虚函数 |
|
纯虚函数 |