Commit 513080ea authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

some more fixes in Algorithm methods declarations

parent 0fe0a881
...@@ -2357,7 +2357,7 @@ Algorithm::get ...@@ -2357,7 +2357,7 @@ Algorithm::get
-------------- --------------
Returns the algorithm parameter Returns the algorithm parameter
.. ocv:function:: template<typename _Tp> typename ParamType<_Tp>::member_type get(const string& name) const .. ocv:function:: template<typename _Tp> typename ParamType<_Tp>::member_type Algorithm::get(const string& name) const
:param name: The parameter name. :param name: The parameter name.
...@@ -2378,13 +2378,13 @@ Algorithm::set ...@@ -2378,13 +2378,13 @@ Algorithm::set
-------------- --------------
Sets the algorithm parameter Sets the algorithm parameter
.. ocv:function:: void set(const string& name, int value) .. ocv:function:: void Algorithm::set(const string& name, int value)
.. ocv:function:: void set(const string& name, double value) .. ocv:function:: void Algorithm::set(const string& name, double value)
.. ocv:function:: void set(const string& name, bool value) .. ocv:function:: void Algorithm::set(const string& name, bool value)
.. ocv:function:: void set(const string& name, const string& value) .. ocv:function:: void Algorithm::set(const string& name, const string& value)
.. ocv:function:: void set(const string& name, const Mat& value) .. ocv:function:: void Algorithm::set(const string& name, const Mat& value)
.. ocv:function:: void set(const string& name, const vector<Mat>& value) .. ocv:function:: void Algorithm::set(const string& name, const vector<Mat>& value)
.. ocv:function:: void set(const string& name, const Ptr<Algorithm>& value) .. ocv:function:: void Algorithm::set(const string& name, const Ptr<Algorithm>& value)
:param name: The parameter name. :param name: The parameter name.
:param value: The parameter value. :param value: The parameter value.
...@@ -2396,7 +2396,7 @@ Algorithm::write ...@@ -2396,7 +2396,7 @@ Algorithm::write
---------------- ----------------
Stores algorithm parameters in a file storage Stores algorithm parameters in a file storage
.. ocv:function:: void write(FileStorage& fs) const .. ocv:function:: void Algorithm::write(FileStorage& fs) const
:param fs: File storage. :param fs: File storage.
...@@ -2413,7 +2413,7 @@ Algorithm::read ...@@ -2413,7 +2413,7 @@ Algorithm::read
--------------- ---------------
Reads algorithm parameters from a file storage Reads algorithm parameters from a file storage
.. ocv:function:: void read(const FileNode& fn) .. ocv:function:: void Algorithm::read(const FileNode& fn)
:param fn: File node of the file storage. :param fn: File node of the file storage.
...@@ -2423,7 +2423,7 @@ Algorithm::getList ...@@ -2423,7 +2423,7 @@ Algorithm::getList
------------------ ------------------
Returns the list of registered algorithms Returns the list of registered algorithms
.. ocv:function:: void getList(vector<string>& algorithms) .. ocv:function:: void Algorithm::getList(vector<string>& algorithms)
:param algorithms: The output vector of algorithm names. :param algorithms: The output vector of algorithm names.
...@@ -2436,22 +2436,11 @@ This static method returns the list of registered algorithms in alphabetical ord ...@@ -2436,22 +2436,11 @@ This static method returns the list of registered algorithms in alphabetical ord
cout << algorithms[i] << endl; cout << algorithms[i] << endl;
Algorithm::getList
------------------
Returns the list of registered algorithms
.. ocv:function:: void read(vector<string>& algorithms)
:param algorithms: The output vector of algorithm names.
This static method returns the list of registered algorithms in alphabetical order.
Algorithm::create Algorithm::create
----------------- -----------------
Creates algorithm instance by name Creates algorithm instance by name
.. ocv:function:: template<typename _Tp> Ptr<_Tp> create(const string& name) .. ocv:function:: template<typename _Tp> Ptr<_Tp> Algorithm::create(const string& name)
:param name: The algorithm name, one of the names returned by ``Algorithm::getList()``. :param name: The algorithm name, one of the names returned by ``Algorithm::getList()``.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment