• Home
  • Raw
  • Download

Lines Matching refs:CvMat

78 CvEM::CvEM( const CvMat* samples, const CvMat* sample_idx,  in CvEM()
79 CvEMParams params, CvMat* labels ) in CvEM()
156 const CvMat* p = params.weights; in set_params()
168 const CvMat* m = params.means; in set_params()
180 const CvMat* w = params.weights; in set_params()
193 const CvMat* cov = params.covs[k]; in set_params()
209 CvEM::predict( const CvMat* _sample, CvMat* _probs ) const in predict()
224 CvMat diff, expo; in predict()
249 CvMat* u = cov_rotate_mats[k]; in predict()
303 bool CvEM::train( const CvMat* _samples, const CvMat* _sample_idx, in train()
304 CvEMParams _params, CvMat* labels ) in train()
308 CvMat* sample_idx = 0; in train()
347 CV_CALL( covs = (CvMat**)cvAlloc( nclusters * sizeof(*covs) )); in train()
348 CV_CALL( cov_rotate_mats = (CvMat**)cvAlloc( nclusters * sizeof(cov_rotate_mats[0]) )); in train()
368 CvMat sample = cvMat( 1, dims, CV_32F ); in train()
369 CvMat prob = cvMat( 1, nclusters, CV_64F ); in train()
398 CvMat *w = 0, *u = 0, *tcov = 0; in init_em()
414 CvMat prob; in init_em()
485 CvMat* hdr = 0; in init_auto()
487 CvMat* class_ranges = 0; in init_auto()
488 CvMat* labels = 0; in init_auto()
499 CvMat src = cvMat( 1, dims, CV_32F ); in init_auto()
500 CvMat dst = cvMat( 1, dims, CV_64F ); in init_auto()
536 CV_CALL( hdr = (CvMat*)cvAlloc( max_count*sizeof(hdr[0]) )); in init_auto()
549 CvMat avg; in init_auto()
573 void CvEM::kmeans( const CvVectors& train_data, int nclusters, CvMat* labels, in kmeans()
574 CvTermCriteria termcrit, const CvMat* centers0 ) in kmeans()
576 CvMat* centers = 0; in kmeans()
577 CvMat* old_centers = 0; in kmeans()
578 CvMat* counters = 0; in kmeans()
613 CvMat* temp; in kmeans()
777 CvMat* centered_sample = 0; in run_em()
778 CvMat* covs_item = 0; in run_em()
779 CvMat* log_det = 0; in run_em()
780 CvMat* log_weights = 0; in run_em()
781 CvMat* cov_eigen_values = 0; in run_em()
782 CvMat* samples = 0; in run_em()
783 CvMat* sum_probs = 0; in run_em()
798 CvMat whdr, iwhdr, diag, *w, *iw; in run_em()
918 CvMat* u = cov_rotate_mats[k]; in run_em()
982 CvMat* cov = covs[k], _mean, _sample; in run_em()
1090 const CvMat* CvEM::get_means() const in get_means()
1095 const CvMat** CvEM::get_covs() const in get_covs()
1097 return (const CvMat**)covs; in get_covs()
1100 const CvMat* CvEM::get_weights() const in get_weights()
1105 const CvMat* CvEM::get_probs() const in get_probs()