Lines Matching full:covs
51 void defaultDistribs( Mat& means, vector<Mat>& covs, int type=CV_32FC1 )
60 means.resize(3), covs.resize(3);
64 c0.convertTo(covs[0], type);
68 c1.convertTo(covs[1], type);
72 c2.convertTo(covs[2], type);
77 void generateData( Mat& data, Mat& labels, const vector<int>& sizes, const Mat& _means, const vector<Mat>& covs, int dataType, int labelType )
83 CV_Assert( _means.rows == (int)sizes.size() && covs.size() == sizes.size() );
93 vector<Mat>::const_iterator mit = means.begin(), cit = covs.begin();
236 vector<Mat> covs;
237 defaultDistribs( means, covs );
238 generateData( data, labels, sizes, means, covs, CV_32FC1, CV_32SC1 );
306 vector<Mat> covs;
307 defaultDistribs( means, covs );
308 generateData( trainData, trainLabels, sizes, means, covs, CV_32FC1, CV_32FC1 );
312 generateData( testData, testLabels, sizes, means, covs, CV_32FC1, CV_32FC1 );
359 probs(_probs), weights(_weights), means(_means), covs(_covs), termCrit(_termCrit)
370 const std::vector<cv::Mat>* covs;
405 em->trainE( trainData, *params.means, *params.covs,
452 vector<Mat> covs;
453 defaultDistribs( means, covs, CV_64FC1 );
458 generateData( trainData, trainLabels, sizes, means, covs, CV_64FC1, CV_32SC1 );
462 covs, CV_64FC1, CV_32SC1 );
471 params.covs = &covs;