Home | History | Annotate | Download | only in src

Lines Matching refs:samples

47  * params.nclusters    - number of clusters to cluster samples to.
78 CvEM::CvEM( const CvMat* samples, const CvMat* sample_idx,
85 train(samples, sample_idx, params, labels);
339 "The number of samples should be greater than the number of clusters" );
782 CvMat* samples = 0;
851 CV_CALL( samples = cvCreateMat( nsamples, dims, CV_64FC1 ));
859 double* dst = (double*)(samples->data.ptr + samples->step*i);
929 const double* sample = (double*)(samples->data.ptr + samples->step*i);
977 cvGEMM( probs, samples, 1, 0, 0, means, CV_GEMM_A_T );
987 cvGetRow( samples, &_sample, k );
1002 _sample.data.db = (double*)(samples->data.ptr + samples->step*i);
1078 cvReleaseMat( &samples );