add documentation for new classes
This commit is contained in:
parent
1613aa45bc
commit
d314c602d5
@ -11,7 +11,7 @@ SoftCascadeOctave
|
|||||||
-----------------
|
-----------------
|
||||||
.. ocv:class:: SoftCascadeOctave
|
.. ocv:class:: SoftCascadeOctave
|
||||||
|
|
||||||
Public interface for soft cascade training algorithm
|
Public interface for soft cascade training algorithm. ::
|
||||||
|
|
||||||
class CV_EXPORTS SoftCascadeOctave : public Algorithm
|
class CV_EXPORTS SoftCascadeOctave : public Algorithm
|
||||||
{
|
{
|
||||||
@ -70,8 +70,8 @@ SoftCascadeOctave::setRejectThresholds
|
|||||||
SoftCascadeOctave::write
|
SoftCascadeOctave::write
|
||||||
------------------------
|
------------------------
|
||||||
|
|
||||||
.. ocv:function:: write SoftCascadeOctave::train(cv::FileStorage &fs, const FeaturePool* pool, InputArray thresholds) const
|
.. ocv:function:: void SoftCascadeOctave::train(cv::FileStorage &fs, const FeaturePool* pool, InputArray thresholds) const
|
||||||
.. ocv:function:: write SoftCascadeOctave::train( CvFileStorage* fs, string name) const
|
.. ocv:function:: void SoftCascadeOctave::train( CvFileStorage* fs, string name) const
|
||||||
|
|
||||||
:param fs an output file storage to store trained detector.
|
:param fs an output file storage to store trained detector.
|
||||||
|
|
||||||
@ -80,3 +80,64 @@ SoftCascadeOctave::write
|
|||||||
:param dataset a rejection vector that should be included in detector xml file.
|
:param dataset a rejection vector that should be included in detector xml file.
|
||||||
|
|
||||||
:param name a name of root node for trained detector.
|
:param name a name of root node for trained detector.
|
||||||
|
|
||||||
|
|
||||||
|
FeaturePool
|
||||||
|
-----------
|
||||||
|
.. ocv:class:: FeaturePool
|
||||||
|
|
||||||
|
Public interface for feature pool. This is a hight level abstraction for training random feature pool. ::
|
||||||
|
|
||||||
|
class CV_EXPORTS FeaturePool
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
virtual int size() const = 0;
|
||||||
|
virtual float apply(int fi, int si, const Mat& channels) const = 0;
|
||||||
|
virtual void write( cv::FileStorage& fs, int index) const = 0;
|
||||||
|
virtual ~FeaturePool();
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
FeaturePool::size
|
||||||
|
-----------------
|
||||||
|
|
||||||
|
Returns size of feature pool.
|
||||||
|
|
||||||
|
.. ocv:function:: int FeaturePool::size() const
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
FeaturePool::~FeaturePool
|
||||||
|
-------------------------
|
||||||
|
|
||||||
|
FeaturePool destructor.
|
||||||
|
|
||||||
|
.. ocv:function:: int FeaturePool::~FeaturePool()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
FeaturePool::write
|
||||||
|
------------------
|
||||||
|
|
||||||
|
Write specified feature from feature pool to file storage.
|
||||||
|
|
||||||
|
.. ocv:function:: void FeaturePool::write( cv::FileStorage& fs, int index) const
|
||||||
|
|
||||||
|
:param fs an output file storage to store feature.
|
||||||
|
|
||||||
|
:param index an index of feature that should be stored.
|
||||||
|
|
||||||
|
|
||||||
|
FeaturePool::apply
|
||||||
|
------------------
|
||||||
|
|
||||||
|
Compute feature on integral channel image.
|
||||||
|
|
||||||
|
.. ocv:function:: float FeaturePool::apply(int fi, int si, const Mat& channels) const
|
||||||
|
|
||||||
|
:param fi an index of feature that should be computed.
|
||||||
|
|
||||||
|
:param si an index of sample.
|
||||||
|
|
||||||
|
:param fs a channel matrix.
|
Loading…
x
Reference in New Issue
Block a user