Lines Matching refs:centers
576 CvMat* centers = 0;
595 CV_CALL( centers = cvCreateMat( nclusters, dims, CV_64FC1 ));
602 CV_CALL( cvConvert( centers0, centers ));
625 const double* c = (double*)(centers->data.ptr + k*centers->step);
658 CV_SWAP( centers, old_centers, temp );
659 cvZero( centers );
662 // update centers
667 double* c = (double*)(centers->data.ptr + k*centers->step);
693 double* c = (double*)(centers->data.ptr + k*centers->step);
754 cvReleaseMat( ¢ers );