@ -31,9 +31,10 @@ The function supports multi-channel images. Each channel is processed independen
The functions ``accumulate*`` can be used, for example, to collect statistics of a scene background viewed by a still camera and for the further foreground-background segmentation.
The functions ``accumulate*`` can be used, for example, to collect statistics of a scene background viewed by a still camera and for the further foreground-background segmentation.
@ -674,7 +674,7 @@ See below a sample output of the function where each image pixel is tested again
..image:: pics/pointpolygon.png
..image:: pics/pointpolygon.png
..[Fitzgibbon95] Andrew W. Fitzgibbon, R.B.Fisher. *A Buyer’s Guide to Conic Fitting*. Proc.5th British Machine Vision Conference, Birmingham, pp. 513-522, 1995.
..[Fitzgibbon95] Andrew W. Fitzgibbon, R.B.Fisher. *A Buyer's Guide to Conic Fitting*. Proc.5th British Machine Vision Conference, Birmingham, pp. 513-522, 1995.
..[Hu62] M. Hu. *Visual Pattern Recognition by Moment Invariants*, IRE Transactions on Information Theory, 8:2, pp. 179-187, 1962.
..[Hu62] M. Hu. *Visual Pattern Recognition by Moment Invariants*, IRE Transactions on Information Theory, 8:2, pp. 179-187, 1962.
The method returns a pointer to the mask matrix of missing values or throws an exception if the data has not been loaded from the file yet.
The method returns a pointer to the mask matrix of missing values or throws an exception if the data has not been loaded from the file yet.
@ -110,7 +110,7 @@ CvMLData::get_response_idx
--------------------------
--------------------------
Returns index of the response column in the loaded data matrix
Returns index of the response column in the loaded data matrix
..ocv:function:: int CvMLData::get_response_idx() const;
..ocv:function:: int CvMLData::get_response_idx() const
The method returns the index of a response column in the ``values`` matrix (see :ocv:func:`CvMLData::get_values`) or throws an exception if the data has not been loaded from the file yet.
The method returns the index of a response column in the ``values`` matrix (see :ocv:func:`CvMLData::get_values`) or throws an exception if the data has not been loaded from the file yet.
@ -129,7 +129,7 @@ CvMLData::get_train_sample_idx
------------------------------
------------------------------
Returns the matrix of sample indices for a training subset
Returns the matrix of sample indices for a training subset
The method returns the matrix of sample indices for a training subset. This is a single-row matrix of the type ``CV_32SC1``. If data split is not set, the method returns ``0``. If the data has not been loaded from the file yet, an exception is thrown.
The method returns the matrix of sample indices for a training subset. This is a single-row matrix of the type ``CV_32SC1``. If data split is not set, the method returns ``0``. If the data has not been loaded from the file yet, an exception is thrown.
@ -137,7 +137,7 @@ CvMLData::get_test_sample_idx
-----------------------------
-----------------------------
Returns the matrix of sample indices for a testing subset
Returns the matrix of sample indices for a testing subset