Lines Matching refs:CV_CALL

229     CV_CALL( cvPreparePredictData( _sample, dims, 0, params.nclusters, _probs, &sample_data ));  in predict()
237 CV_CALL( buffer = cvAlloc( size )); in predict()
284 CV_CALL( cvConvertScale( &expo, &expo, -0.5 )); in predict()
285 CV_CALL( cvExp( &expo, &expo )); in predict()
287 CV_CALL( cvReshape( &expo, &expo, 0, nclusters )); in predict()
288 CV_CALL( cvConvertScale( &expo, _probs, 1./cvSum( &expo ).val[0] )); in predict()
321 CV_CALL( cvPrepareTrainData( "cvEM", in train()
327 CV_CALL( set_params( _params, train_data )); in train()
341 CV_CALL( log_weight_div_det = cvCreateMat( 1, nclusters, CV_64FC1 )); in train()
342 CV_CALL( probs = cvCreateMat( nsamples, nclusters, CV_64FC1 )); in train()
343 CV_CALL( means = cvCreateMat( nclusters, dims, CV_64FC1 )); in train()
344 CV_CALL( weights = cvCreateMat( 1, nclusters, CV_64FC1 )); in train()
345 CV_CALL( inv_eigen_values = cvCreateMat( nclusters, 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()
352 CV_CALL( covs[i] = cvCreateMat( dims, dims, CV_64FC1 )); in train()
353 CV_CALL( cov_rotate_mats[i] = cvCreateMat( dims, dims, CV_64FC1 )); in train()
441 CV_CALL( cvConvert( params.covs[i], covs[i] )); in init_em()
448 CV_CALL( tcov = cvCreateMat( dims, dims, CV_64FC1 )); in init_em()
449 CV_CALL( w = cvCreateMat( dims, dims, CV_64FC1 )); in init_em()
451 CV_CALL( u = cvCreateMat( dims, dims, CV_64FC1 )); in init_em()
516 CV_CALL( class_ranges = cvCreateMat( 1, nclusters+1, CV_32SC1 )); in init_auto()
519 CV_CALL( labels = cvCreateMat( 1, nsamples, CV_32SC1 )); in init_auto()
522 CV_CALL( cvSortSamplesByClasses( (const float**)train_data.data.fl, in init_auto()
536 CV_CALL( hdr = (CvMat*)cvAlloc( max_count*sizeof(hdr[0]) )); in init_auto()
537 CV_CALL( vec = (const void**)cvAlloc( max_count*sizeof(vec[0]) )); in init_auto()
557 CV_CALL( cvGetRow( means, &avg, i )); in init_auto()
558 CV_CALL( cvCalcCovarMatrix( vec, cluster_size, covs[i], in init_auto()
595 CV_CALL( centers = cvCreateMat( nclusters, dims, CV_64FC1 )); in kmeans()
596 CV_CALL( old_centers = cvCreateMat( nclusters, dims, CV_64FC1 )); in kmeans()
597 CV_CALL( counters = cvCreateMat( 1, nclusters, CV_32SC1 )); in kmeans()
602 CV_CALL( cvConvert( centers0, centers )); in kmeans()
805 CV_CALL( cvSet( probs, cvScalar(1.)) ); in run_em()
846 CV_CALL( log_det = cvCreateMat( 1, nclusters, CV_64FC1 )); in run_em()
847 CV_CALL( log_weights = cvCreateMat( 1, nclusters, CV_64FC1 )); in run_em()
848 CV_CALL( covs_item = cvCreateMat( dims, dims, CV_64FC1 )); in run_em()
849 CV_CALL( centered_sample = cvCreateMat( 1, dims, CV_64FC1 )); in run_em()
850CV_CALL( cov_eigen_values = cvCreateMat( inv_eigen_values->rows, inv_eigen_values->cols, CV_64FC1 … in run_em()
851 CV_CALL( samples = cvCreateMat( nsamples, dims, CV_64FC1 )); in run_em()
852 CV_CALL( sum_probs = cvCreateMat( 1, nclusters, CV_64FC1 )); in run_em()
913 CV_CALL(cvLog( weights, log_weights )); in run_em()
951 CV_CALL(cvExp( probs, probs )); // exp( S_ik ) in run_em()