Searched refs:old_centers (Results 1 – 3 of 3) sorted by relevance
/external/opencv/ml/src/ |
D | mlem.cpp | 577 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/opencv3/modules/core/src/ |
D | kmeans.cpp | 257 Mat centers(K, dims, type), old_centers(K, dims, type), temp(1, dims, type); in kmeans() local 302 swap(centers, old_centers); in kmeans() 420 const float* old_center = old_centers.ptr<float>(k); in kmeans()
|
/external/opencv/cxcore/src/ |
D | cxutils.cpp | 49 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()
|