/external/opencv3/samples/python2/ |
gaussian_mix.py | 43 covs = em.getMatVector('covs') variable 44 found_distrs = zip(means, covs)
|
/external/opencv3/modules/ml/test/ |
test_emknearestkmeans.cpp | 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 ); 306 vector<Mat> covs; local 370 const std::vector<cv::Mat>* covs; member in class:EM_Params 452 vector<Mat> covs; local [all...] |
/external/opencv3/modules/ml/src/ |
em.cpp | 103 covs.clear(); 237 const std::vector<Mat>* covs, const Mat* weights) 271 CV_Assert(!covs || 272 (!covs->empty() && 273 static_cast<int>(covs->size()) == nclusters)); 274 if(covs) 277 for(size_t i = 0; i < covs->size(); i++) 279 const Mat& m = (*covs)[i]; 353 // set covs 356 covs.resize(nclusters) 782 fs << covs[i]; local 833 std::vector<Mat> covs; member in class:cv::ml::EMImpl [all...] |
/external/opencv/ml/include/ |
ml.h | 562 start_step(0/*CvEM::START_AUTO_STEP*/), probs(0), weights(0), means(0), covs(0) 572 probs(_probs), weights(_weights), means(_means), covs(_covs), term_crit(_term_crit) 581 const CvMat** covs; member in struct:CvEMParams 629 CvMat** covs; member in class:CvEM [all...] |