diff --git a/modules/core/doc/clustering.rst b/modules/core/doc/clustering.rst index dc9b28799..fd4047553 100644 --- a/modules/core/doc/clustering.rst +++ b/modules/core/doc/clustering.rst @@ -15,7 +15,15 @@ Finds centers of clusters and groups input samples around the clusters. :param samples: Floating-point matrix of input samples, one row per sample. - :param data: Data for clustering. + :param data: Data for clustering. An array of N-Dimensional points with float coordinates is needed. Examples of this array can be: + + * ``Mat points(count, 2, CV_32F);`` + + * ``Mat points(count, 1, CV_32FC2);`` + + * ``Mat points(1, count, CV_32FC2);`` + + * ``std::vector points(sampleCount);`` :param cluster_count: Number of clusters to split the set by. diff --git a/modules/legacy/src/calibfilter.cpp b/modules/legacy/src/calibfilter.cpp index 99e9ec7c1..9bcf03596 100644 --- a/modules/legacy/src/calibfilter.cpp +++ b/modules/legacy/src/calibfilter.cpp @@ -333,12 +333,6 @@ void CvCalibFilter::Stop( bool calibrate ) points[0],points[1], buffer, &stereo); - - for( i = 0; i < 9; i++ ) - { - stereo.fundMatr[i] = stereo.fundMatr[i]; - } - } }