Home
last modified time | relevance | path

Searched refs:old_centers (Results 1 – 2 of 2) sorted by relevance

/external/opencv/ml/src/
Dmlem.cpp577 CvMat* old_centers = 0; in kmeans() local
596 CV_CALL( old_centers = cvCreateMat( nclusters, dims, CV_64FC1 )); in kmeans()
598 cvZero( old_centers ); in kmeans()
658 CV_SWAP( centers, old_centers, temp ); in kmeans()
717 const double* c_o = (double*)(old_centers->data.ptr + k*old_centers->step); in kmeans()
755 cvReleaseMat( &old_centers ); in kmeans()
/external/opencv/cxcore/src/
Dcxutils.cpp49 CvMat* old_centers = 0; in cvKMeans2() local
95 CV_CALL( old_centers = cvCreateMat( cluster_count, dims, CV_64FC1 )); in cvKMeans2()
158 double* c_o = (double*)(old_centers->data.ptr + k*old_centers->step); in cvKMeans2()
211 CV_SWAP( centers, old_centers, temp ); in cvKMeans2()
237 cvReleaseMat( &old_centers ); in cvKMeans2()