Home | History | Annotate | Download | only in src

Lines Matching refs:step

139             CV_ERROR( CV_StsNullPtr, "Probabilities must be specified when EM algorithm starts with M-step" );
143 CV_ERROR( CV_StsNullPtr, "Mean's must be specified when EM algorithm starts with E-step" );
246 const double* mean_k = (const double*)(means->data.ptr + means->step*k);
247 const double* w = (const double*)(inv_eigen_values->data.ptr + inv_eigen_values->step*k);
370 int lstep = CV_IS_MAT_CONT(labels->type) ? 1 : labels->step/sizeof(int);
375 sample.data.ptr = _samples->data.ptr + _samples->step*idx;
376 prob.data.ptr = probs->data.ptr + probs->step*i;
504 dst.data.ptr = means->data.ptr + means->step*i;
625 const double* c = (double*)(centers->data.ptr + k*centers->step);
667 double* c = (double*)(centers->data.ptr + k*centers->step);
693 double* c = (double*)(centers->data.ptr + k*centers->step);
717 const double* c_o = (double*)(old_centers->data.ptr + k*old_centers->step);
859 double* dst = (double*)(samples->data.ptr + samples->step*i);
912 // e-step: compute probs_ik from means_k, covs_k and weights_k.
919 const double* mean = (double*)(means->data.ptr + means->step*k);
924 w_data = (double*)(inv_eigen_values->data.ptr + inv_eigen_values->step*k);
929 const double* sample = (double*)(samples->data.ptr + samples->step*i);
930 double* pp = (double*)(probs->data.ptr + probs->step*i);
958 double* pp = (double*)(probs->data.ptr + probs->step*i), sum = 0;
976 // m-step: update means_k, covs_k and weights_k from probs_ik
1002 _sample.data.db = (double*)(samples->data.ptr + samples->step*i);